Question Detail

Constructor has return type

  • True
  • False
Similar Questions :

1. Which of the following command is used to compile the Java program

  • java
  • javac
  • javap
  • none of these

2. How many transaction isolation levels are defined in java.sql.Connection interface

  • 4
  • 3
  • 5
  • 2

3. pow () is associated with which class

  • Math class
  • Input stream class
  • Object class
  • None of above

4. The class java.sql.Timestamp is associated with

  • java.util.Time
  • java.sql.Time
  • java.util.Date
  • None of above

5. Why we use array as a parameter of main method

  • it is syntax
  • Can store multiple values
  • Both of above
  • None of above
Read more from - Java Objective Questions Answers -Chapter 1