Correct Answer: Does not necessarily force garbage collection to occur, and is not idiomatic java.
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 is the output? int[] xxx = {10, 20}; List<String> list = new ArrayList<String>(10); list.add("01"); list.add("02"); System.out.println(xxx.length + ", " +list.size());
A class may extend:
Immutable objects are always...
What is the correct statement for handling RuntimeException?
Java provides a class for mutable sequences of characters, called:
What type should you use for floating point monetary calculations?
Does interrupt() always force all threads to terminate?
class X implements Runnable { public static void main(String args[]) { /* Missing code? */ } public void run() {} } Which of the following line of code is suitable to start a thread ?
Which of the following statements about static inner classes is true?
What will be printed out if you attempt to compile and run the following code? int i=9; switch (i) { default: System.out.println("default "); case 0: System.out.println("zero "); break; case 1: System.out.println("one "); case 2: System.out.println("two "); }