Home > Web Development > Quizzes > Web Development Practice Test - Java
Web Development Practice Test - Java
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 62% Most missed: “Java servlets are an efficient and powerful solution for creating ………….. for the…”
Web Development Practice Test - Java
Time left 00:00
25 Questions

1. What is the meaning of the return data type void?
2. In java, …………. can only test for equality, where as ………… can evaluate any type of the Boolean expression.
3. Native – protocol pure Java converts ……….. into the ………… used by DBMSs directly.
4. Java has its origin in
5. Which of the following is not a return type?
6. The command javac is used to
7. break statement is used to i) get out of method ii)end aprogram iii) get out of a loop iv)get out of the system
8. To execute the thread one after another.
9. Which methods can access to private attributes of a class?
10. Java programs are
11. The third type of comment is used by a tool called ……………… for automatic generation of documentation.
12. Each method in a java class must have a unique name .
13. Which of the statement is reserved word in java?
14. System.in.read() is being used, the program must specify the ……………… clause.
15. i) Public can only be assigned to class ii) Protected protects a statement iii) Protected method is never accessible outside the package iv) Friendly variable may be accessible outside class
16. Which of the following is considered as a blue print that defines the variables and methods common to all of its objects of a specific kind?
17. Which of the following statements is false about objects?
18. All the wrapper class (Integer, Boolean, Float, Short, Long, Double and Character) in java
19. A lower precision can be assigned to higher precision value in Java. For exa. A byte type data can be assigned to int type.
20. Which one of the following is true for Java
21. By using ………………. you can force immediate termination of a loop, by passing the conditional expression and any remaining code in the body of the loop.
22. Which of the following statements are about the Java language is true?
23. The compiled java program can run on any ………………… platform having Java Virtual Machine (JVM) installed on it.
24. Which of the following statement is true?
25. ………………….. is the key to ………………