1. Java Programming was created by __________.
2. Which one of the following is not a Java feature?
3. Which of these cannot be used for a variable name?
4. What is the extension of Java code files?
5. When an array is passed to a method, what does the method receive?
6. When is the object created with new keyword?
7. Identify the correct definition of a package.
8. Identify the keyword among the following that makes a variable belong to a class.
9. compareTo() returns a __________.
10. Identify the return type of a method that does not return any value.
11. Which one of these modifiers can’t be used for constructors?
12. What is Runnable?
13. Exception generated by try block is caught in which block?
14. Initially Java was named as __________.
15. __________ is the default value of an array of integers.
16. Which of these are conditional statements in Java?
17. Which of the following is not an OOPS concept in Java?
18. Which of the following is a superclass of every class?
19. Which of these packages contains class in Java?
20. What is the default value of a boolean variable?
21. Which keyword is used to define a constant variable in Java?
22. Which one of the following is true for Java?
23. Which control structure is used to execute a block of code multiple times?
24. What is the output of: int counter = 0; while(counter <= 5) { counter++; [Link]("Count: " + c
25. Enumeration is used to retrieve values from __________.
26. Which method must be implemented by all threads?
27. Operator is used to concatenate two strings __________.
28. Writing multiple constructors is called __________.
29. Which method is used to start a new thread?
30. Which of the following is true about inheritance?
31. The built-in base class in Java, used to handle exceptions is __________.
32. Java uses threads to enable the entire environment to be __________.
33. When we implement an interface method, it must be declared as __________.
34. Which of the following is used to make an Abstract class?
35. A package is a collection of __________.
36. How do you start writing a while loop in Java?
37. How do you start writing an if statement in Java?
38. Which method can be used to find the highest value of x and y?
39. Is it possible to inherit attributes and methods from one class to another?
40. Which keyword is used to create a class in Java?
41. How do you call a method in Java?
42. Without __________ catch is not possible.
43. Which method is used to return a string in upper case letters?
44. __________ class is used to store values of different data types.
45. The value of a string variable can be surrounded by single quotes.
46. Who developed the Java programming language?
47. What's the main difference between int and Integer in Java?
48. What is the purpose of the continue statement in a loop?
49. What is polymorphism?
50. What is an interface?
51. Can an interface extend another interface?
52. Does interface have a constructor?
53. Is it possible to create an instance of an interface?
54. Which keyword is used for constant variables?
55. What is the primary purpose of Thread class?
56. Which method can be used to pause the execution of the current thread?
57. Every statement should end with the symbol __________.
58. Which interface handles sequences?
59. Which of these interface must contain a unique element?
60. In which year java was created?
61. Which keyword is used to inherit a class in Java?
62. Which of the following is used to allocate memory to an object?
63. What is the size of int in Java?
64. What is the default value of a String in Java?
65. Which of these is not a Java loop structure?
66. What is the entry point of a Java program?
67. Java supports __ inheritance.
68. Which class is the root class in Java?
69. Which keyword is used to prevent inheritance?
70. Which operator is used for concatenation?
71. Which method is used to compare two strings?
72. Which class is used for input in Java?
73. Which class is used for output in Java?
74. Java was originally developed by?
75. Java bytecode runs on?
76. Which of the following handles exceptions in Java?
77. What is the keyword to define an interface?
78. Which method is called when an object is created?
79. What is the parent class of all exceptions?
80. What type of language is Java?