______keyword is used to access the parent class constructor
Catch is used for generating an exception manually
Which of these is a standard for communicating multimedia content over email?
In which form can the function call operator be overloaded?
Which method of the ObjectOutput interface is used to write an object to an input or output stream?
Which of the following is not OOPS concept in Java?
Output of follwoing Java program
class Abekus {
public static void main(String args[]){
final int i;
i = 20;
System.out.println(i);
}
}
Which of the following statements about abstract classes in Java is FALSE?
Predict the output of the following Java code:
import java.util.*;
public class Abekus {
public static void main(String[] args) {
List<Integer> l1 = new ArrayList<Integer>();
l1.add(5);
l1.add(9);
l1.add(4);
l1.add(3);
List<Integer> l2 = new Vector<Integer>();
l2.add(12);
l2.add(16);
System.out.println(Collections.disjoint(l1, l2));
}
}
import java.util.*;
class result
{
public static void main(String args[])
{
LinkedHashMap obj = new LinkedHashMap();
obj.put("A", new Integer(3));
obj.put("A", new Integer(3));
obj.put("B", new Integer(2));
obj.put("B", new Integer(2));
obj.put("C", new Integer(8));
obj.put("C", new Integer(8));
obj.put("D", new Integer(9));
obj.put("D", new Integer(9));
obj.put("E", new Integer(4));
obj.put("E", new Integer(4));
obj.put("F", new Integer(6));
obj.put("F", new Integer(6));
System.out.print(obj.contains(new Integer(11)));
}
}