21. Which of these is a super class of Character wrapper?
22. Which of this package is used for invoking a method remotely?
23. Which of these packages contain all the Java's built in exceptions?
24. What will be the output of the following Java code?
class Output
{
public static void main(String args[])
{
byte a[] = { 65, 66, 67, 68, 69, 70 };
byte b[] = { 71, 72, 73, 74, 75, 76 };
System.arraycopy(a , 0, b, 0, a.length);
System.out.print(new String(a) + " " + new String(b));
}
}
class Output
{
public static void main(String args[])
{
byte a[] = { 65, 66, 67, 68, 69, 70 };
byte b[] = { 71, 72, 73, 74, 75, 76 };
System.arraycopy(a , 0, b, 0, a.length);
System.out.print(new String(a) + " " + new String(b));
}
}
25. Which of these class is used to create user defined exception?
26. Which of these methods returns the total number of bytes of memory available to the program?
27. What does System.getProperty("variable") return?
28. Which of these package provides the ability to read and write in Zip format?
29. Which of these is a wrapper for simple data type char?
30. Which of function return absolute value of a variable?
Read More Section(Interfaces and Abstract Classes)
Each Section contains maximum 100 MCQs question on Interfaces and Abstract Classes. To get more questions visit other sections.