All class methods in the java.lang package are thread safe. (in 1.5)
Correct Answer: False
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Java Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Java MCQ Questions
What is wrong with the following code? class X extends Exception {} public class Y { public void foo() { try { b(); } finally { ba(); } catch (MyException e) {} } public void b() throws X { throw new X(); } public void ba() throws RuntimeException { throw new RuntimeException(); } }
What protocol is used by the DatagramSocket class?
Which class contains a method to create a directory?
Inheritance is a process by which the objects of parent class acquire the properties of the child class.
What would happen on trying to compile and run the following code? class House { public final void MaintainMethod() { System.out.println('MaintainMethod'); } } public class Building extends House { public static void main(String argv[]) { House h = new House(); h.MaintainMethod(); } }
Use the ________ method to write text to a web page.
To use a public variable or method outside of its class, you must ____ the name.
To specify a stacking order, one can use the _____ property.
The __________ method parses a string s to an int value.
The __________ method immediately terminates the program.