MCQ 1 Which of the following is a type of polymorphism in Java?

Correct Answer Choice A Compile time polymorphism
See Answer

MCQ 2 When does method overloading is determined?

Correct Answer Choice B At compile time
See Answer

MCQ 3 When Overloading does not occur?

Correct Answer Choice D More than one method with same name, same number of parameters and type but different signature
See Answer

MCQ 4 Which concept of Java is a way of converting real world objects in terms of class?

Correct Answer Choice C Abstraction
See Answer


MCQ 5 Java programs are

Correct Answer Choice B Platform independent
See Answer

MCQ 6 Which concept of Java is achieved by combining methods and attribute into a class?

Correct Answer Choice A Encapsulation
See Answer

MCQ 7 Which of the following is not OOPS concept in Java?

Correct Answer Choice D Compilation
See Answer

MCQ 8 Which of the below is invalid identifier with the main method?

Correct Answer Choice C private
See Answer


MCQ 9 Command to execute compiled java program is

Correct Answer Choice A java
See Answer

MCQ 10 State weather the following statement is true or false for EJB.

  1. EJB exists in the middle-tier
  2. EJB specifies an execution environment
  3. EJB supports transaction processing
  4. <

    Correct Answer Choice A 1 − True, 2 − True, 3 − True
    See Answer

MCQ 11 What is use of interpreter?

Correct Answer Choice B They read high level code and execute them
See Answer

MCQ 12 In java, __________________ can only test for equality, where as _________________ can evaluate any type of the Boolean expression.

Correct Answer Choice A switch, if
See Answer


MCQ 13 The compiled java program can run on any ____________ plateform having Java Virtual Machine (JVM) installed on it.

Correct Answer Choice C hardware
See Answer

MCQ 14 What would happen if "String[]args" is not included as argument in the main method.

Correct Answer Choice C Program won’t run
See Answer

MCQ 15 The command javac

Correct Answer Choice B Converts a java program into bytecode
See Answer

MCQ 16 ____________are not machine instructions and therefore, Java interpreter generates machine code that can be directly executed by the machine that is running the Java program.

Correct Answer Choice C byte code
See Answer


MCQ 17 Which method will a web browser call on a new applet?

Correct Answer Choice D init method
See Answer

MCQ 18 What is it called where child object gets killed if parent object is killed?

Correct Answer Choice B Composition
See Answer

MCQ 19 Which one of the following is true for Java

Correct Answer Choice A Java is object oriented and interpreted
See Answer

MCQ 20 Which one of the following is true for Java

Correct Answer Choice A Java is object oriented and interpreted
See Answer


MCQ 21 Java servlets are an efficient and powerful solution for creating ___________ for the web.

Correct Answer Choice A Dynamic content
See Answer

MCQ 22 The JDBC-ODBC bridge allows ________________ to be used as ________________ .

Correct Answer Choice C ODBC drivers, JDBC drivers
See Answer

MCQ 23 OOP features are

  1. Increasing productivity
  2. Reusability
  3. Decreasing maintenance cost
  4. High vulnerability
  5. <

    Correct Answer Choice B 1,2 & 3
    See Answer

MCQ 24 Which of the following represent legal flow control statements?

Correct Answer Choice A break;
See Answer


MCQ 25 If m and n are int type variables, what will be the result of the expression m%n when m = -14 and n = -3?

Correct Answer Choice C -2
See Answer

NTSE, NEET, AIEEE, Olympiad & Other Competive Exams Preparation

Publish Your Article / Write for Us

Article Writing Guide/Help

Trending Questions


Advantages Of NCERT, CBSE & State Boards Solutions For All Subjects

  • All the NCERT Solutions have been prepared by academic experts having 10+ years of teaching experience.
  • They have prepared all the solutions in simple and easy language, so that each and every student can understand the concepts easily.
  • All the solutions have been explained step to step wise in details with better explainations.
  • Students can also use these question and answers for your assignments and in homework help.
  • All the solutions have been explained in detail and the answers have been compiled in a step-wise manner.
  • All the question and asnwers are commonly prepared according to the Latest Syllabus of Board Education and Guidelines.
  • Students can know about the various types of questions asked in the exams with the help of these solutions.

Top Course Categories