Java Fundamental MCQ : Java Fundamental Objective Questions with Answer

Java Fundamental MCQ

  1. Java is a programming language meant for use on the Web only. (Ture/False)
  2. Java is one Plateform (Ture/False)
  3. The relationship between Bird and Parrot is that the Parrot is an object of the class Bird (Ture/False)
  4. A subclass encapsulate the functionality of super class (Ture/False)
  5. Applets are depolyed on the client machine (Ture/False)
  6. Applets are depolyed on the server machine (Ture/False)
  7. Servlets are deployed on the server machine (Ture/False)
  8. Servlets are deployed on the client machine (Ture/False)
  9. The birthdate of Java is _____________
  10. the original development of java was started under the project __________
  11. Object is an instance of ___________
  12. java output generated by the java compiler is ______________
  13. To optimize the execution of the JavaByte code. The JVM Uses a ___________ compiler
  14. Father of Java is _____________
  15. A Single java file can contain only one java application (Ture/False)
  16. the main method of the class is written inside the java class. (Ture/False)
  17. JRE cannot be installed independent of JDK (Ture/False)
  18. the command used to compile java file is jcompile. (Ture/False)
  19. the command used to compile java file is java (Ture/False)
  20. the command used to compile java file is javac (Ture/False)
  21. the command used to run java bytecode is jcompile. (Ture/False)
  22. the command used to run java bytecode is java. (Ture/False)
  23. the command used to run java bytecode is javac. (Ture/False)
  24. java application begin at method _____________
  25. ___________ is a utility program available with jdk for preparing the HTML documentation of java classes.
  26. _____________ begins a documentation comment in Java.
  27. _____________ begins a single line comment in Java.
  28. ____________ command is used to run a Java Application

Answers:

  1. False
  2. True
  3. True
  4. False
  5. True
  6. False
  7. True
  8. False
  9. 23-May-95
  10. Green
  11. class
  12. bytecode
  13. JIT
  14. False
  15. True
  16. True
  17. False
  18. False
  19. True
  20. False
  21. True
  22. False
  23. main
  24. javadoc
  25. /**
  26. //
  27. java

Leave a Reply