Question Detail

Execution of the program is always begins with

  • Main method
  • class contain main method
  • parent class
  • default package
Similar Questions :

1. Which among following classes is not part of Java's collection framework

  • Queue
  • Array
  • Stack
  • Maps

2. After the compilation of the java source code, which file is created by the JVM

  • .class
  • .java
  • .cdr
  • .doc

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. Main method parameter has which type of data type

  • int
  • char
  • string
  • double

5. All raw data types should be read and uploaded to the database as an array of

  • int
  • char
  • bollean
  • byte
Read more from - Java Objective Questions Answers -Chapter 1