download Mastguru Android App

Question Detail

Thread class is available in

  • java.io package
  • java.lang package
  • java.awt package
  • java.util package
Similar Questions :

1. Java intermediate code is known as

  • First code
  • Mid code
  • Byte code
  • None of above

2. Which statement is static and synchronized in JDBC API

  • executeQuery()
  • executeUpdate()
  • getConnection()
  • prepareCall()

3. Which of the following statements about arrays is syntactically wrong

  • arrayName[] p = new arrayName[5];
  • arrayName p[5];
  • arrayName[] p [];
  • arrayName p[][] = new arrayName[2][];

4. In Runnable, many threads share the same object instance

  • True
  • False

5. Private Constructors can't be access from any derived classes neither from another class

  • True
  • False
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment