Adblocker Detected
Quizack provides Online Quiz and Practice MCQs for Free. Please disable your Ad-Blocker so we can earn from ads and keep this project alive.
1. A block is enclosed inside ________.
2. A class specifies the ________ and ________ that a particular type of object has.
3. A java character is stored in ________.
4. A java program is stored in an executable file called a(n) ____ file.
5. A javafx action event handler contains a method ________.
6. A javafx action event handler is an instance of ________.
7. A literal string is a(n) ____ object.
8. A loop controlled by the user is a type of ____ loop.
9. A method header is also called a(n) _____.
10. A method that has no implementation is called a/an ____ method.
11. A method must declare to throw ________.
12. A static method can ________.
13. Another name for a nonstatic member class is a(n) ____.
14. Any field declared with keyword ________ is constant.
15. Arguments to methods always appear within ________.
16. Before entering a loop, the first input statement, or ____, is retrieved.
17. Boolean values can be displayed as the words true and false with the ________ format specifier.
18. By convention, a class diagram contains the ____ following each attribute or method.
19. Character literals are enclosed in ________; string literals are enclosed in ________.
20. Data items you use in a call to a method are called ____.
21. Declaring instance variables ________ is known as data hiding or information hiding.
22. Every class in java, except ________, extends an existing class.
23. Every object is a _____ of a more general class.
24. Exception handling helps you create ________ programs.
25. For input we will use the ______ class.
26. If a key is not in the list, the binarysearch method returns ________.
27. If a programming language does not support ____, the language is not considered object-oriented.
28. If an exception occurs in a try-catch block, the code in the finally clause ________.
29. If you attempt to add an int, a byte, a long, and a float, the result will be a ________ value.
30. In a do…while loop, the loop will continue to execute until ____.
31. In java all output uses the ______ data type.
32. In java graphics, coordinate units are measured in ________.
33. In java, the word true is ________.
34. In java, ________ must be declared before they can be used.
35. In java, you use variables of type ____ to store integers, or whole numbers.
36. In order to allocate the needed memory for an object, you must use the ____ operator.
37. In pcdata, the ____ symbol is used to indicate a special character.
38. Information is passed to a method in ________.
39. Invoking ________ returns the number of the elements in an arraylist x.
40. It is important that the loop control ____ be altered within the body of the loop.
41. Java ________ can run from a web browser.
42. Java contains a class named ____ that allows you to produce dialog boxes.
43. Java uses class ________ to represent colors using their rgb values.
44. Java, c#, and vb.net are examples of ________.
45. Java.util.vector is a subtype of ________.
46. Javascript requires _____ programming knowledge and experience as java.
47. Local variables must be ________.
48. Method calls cannot be distinguished by ________.
49. Methods that set values are called ____ methods.
50. On many keyboards, the break key is also the ____ key.
51. One or more objects may be created from a(n)________.
52. Overloaded methods always have the same _________.
53. Programs that are embedded in a web page are called java ____.
54. Regarding enumerations, the ____ method returns the name of the calling constant object.
55. Some programmers refer to a catch block as a ____ clause.
56. When an object of one class is a data field within another class, they are related by ____.
57. To convert a javascript object to a json string, you use the ____ method.
58. The not equal comparison operator in java is ________.
59. The __________ method immediately terminates the program.
60. The __________ method parses a string s to an int value.
61. To specify a stacking order, one can use the _____ property.
62. To use a public variable or method outside of its class, you must ____ the name.
63. Use the ________ method to write text to a web page.
64. Variables that are shared by every instances of a class are ________.
65. Whenever a method requires multiple arguments, the arguments are always separated with ____.
66. You can create an arraylist using ________.
67. You can declare two variables with the same name in __________.
68. You can leave out the ____ statements in a switch structure.
69. You can obtain the server's hostname by invoking ________ on an applet.
70. You can use the ________ method to replace an item at a specific location in an arraylist.
71. You compare two strings s1 and s2 using ________.
72. You use the keyword ________ to reference a method in the superclass from a subclass.
73. Static methods can only operate on ________ fields.
74. The character class ____ from java.lang.object.
75. The characters ____ move the cursor to the next line when used within a println() statement.
76. The class used as a basis for inheritance is the ____ class.
77. The cookie property is created with a required ____ attribute.
78. The expression ""Java "" + 1 + 2 + 3 evaluates to ________.
79. When you create an array of objects, each reference is assigned the value ____.
80. The ____ class provides the definitions for gui objects.
81. The ____ class represents more serious errors from which your program usually cannot recover.
82. The ____ method converts any object to a string.
83. The ____ method takes a string argument and returns its double value.
84. The ________ loads java bytecode to the memory.
85. The ________ method is used to display a message dialog.
86. The ________ properties are defined in the javafx.scene.text.text class.
87. The __________ function returns the smallest integer that is greater than or equal to the number.
88. The signature of a method consists of ________.
89. When you instantiate an object from a class, ____ is reserved for each instance field in the class.
90. When method printf requires multiple arguments, the arguments are separated with ________.