What will be the return type of the below overloaded methodpublic void example(int x) {a) int b) charc) short
Latest Answer: Yes, Constructors / overloaded methods can throw exceptions. ...
Public class A {int x; public static void main(String args[]) {x=x+1;s.o.p(x);}}what is the output? a) compile time errorb) runtime error
Latest Answer: if the given object already exists in the set then it will return falseotherwise it returns true indicating success ...
Latest Answer: It is a String literal. ...
If the particular value is not found SQL DB (NULL), which data type is considered in JAVA in this case?
Latest Answer: I presume that the question should be "What is updatable ResultSet?"Here is what JavaDoc says about this.A default ResultSet object is not updatable and has a cursor that moves forward only. It is possible to produce ResultSet objects that are updatable. ...
Latest Answer: Hi,we have to write the run() method in class which has extended either a Thread Class or implemented a Runnable interface. ...
Latest Answer: The signature of the main method should be public static void main (String argv[])Iin your question the argument passed to main() is String object, it should always be an String array. ...
View page [1] 2 3 4 5 6 7 8 9 10 Next >>

Go Top