Correct Answer: virtual
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Core Java Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Core Java MCQ Questions
What will be the output of program? class Ab { public static void main(String[] ar) {System.out.print("hi"); } static { System.out.print("how"); } }
The Core Java platform provides many benefits to developers, including:
What is the correct way to create an instance of a class?
True of False? The strictfp keyword ensures that you get the same result on every platform if you perform operations in the floating point variable.
Given following code, what will be the output: import java.lang.reflect.Method; class Bar { private int bar(int a) { return a * a; } } public class Foo { public static void main(String[] args) { try { Bar bar = new Bar(); Method method = bar.getClass().getDeclaredMethod("bar", int.class); method.setAccessible(true); System.out.println(method.invoke(bar, new Integer(5))); } catch (Exception e) { e.printStackTrace(); System.out.println("Error"); } } }
What is the difference between HashMap and HashTable?
Which of the following statements is false about objects?
True or False: All classes that can be instantiated must implement the class Object
java.lang.Object is the super class of all the interfaces in java
A RuntimeException is...