setProperties writes the values directly into the file which stores all the properties
Which of these events is generated when the window is closed?
Array elements are stored in ______ memory locations
The keyword which is used to refer to member of parent class from a subclass is
Which method of the String class is used to obtain the length of a String object?
which of the following function is used to get a sub string from a string in java.
Predict the output of the following Java code.
Object set(int, object ) is used to
Statement 1 - Generic work with Set.
Statement 2- Generic work with the array.
Statement 3- Generic work with the list
Predict the output of the following Java code.
class Abekus {
static int a;
static {
a = 25;
System.out.println("Static Block.");
System.out.println("value of a = " + a);
}
Abekus() {
System.out.println("Constructor.");
a = 62;
}
public static void fellow() {
a = a + 1;
System.out.println("value of a = " + a);
}
public static void main(String[] args) {
Abekus o = new Abekus();
o.fellow();
}
}