61. Which of these methods of Boolean wrapper returns boolean equivalent of an object.
62. Which of the following is true about Java system properties?
63. Which of these can be used to fully abstract a class from its implementation?
64. Which of the following methods return the value as a double?
65. What will be the output of the following Java program?
import java.lang.reflect.*;
class Additional_packages
{
public static void main(String args[])
{
try
{
Class c = Class.forName("java.awt.Dimension");
Field fields[] = c.getFields();
for (int i = 0; i < fields.length; i++)
System.out.println(fields[i]);
}
catch (Exception e)
{
System.out.print("Exception");
}
}
}
import java.lang.reflect.*;
class Additional_packages
{
public static void main(String args[])
{
try
{
Class c = Class.forName("java.awt.Dimension");
Field fields[] = c.getFields();
for (int i = 0; i < fields.length; i++)
System.out.println(fields[i]);
}
catch (Exception e)
{
System.out.print("Exception");
}
}
}
66. What is the use of Observable class?
67. Which of these access specifiers can be used for a class so that its members can be accessed by a different class in the different package?
68. Which of the following methods Byte wrapper return the value as a double?
69. Which of these class contains all the methods present in Math class?
70. Which method is used to generate boolean random values in java?
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.