Question: SOME JAVA PROGRAMING QUESTIONS A _______ is an object or set of objects that share a common structure and a common behavior. A(n) _______ is
SOME JAVA PROGRAMING QUESTIONS
| A _______ is an object or set of objects that share a common structure and a common behavior. | |
|
|
|
| A(n) _______ is the entire process of a trigger sending a message that causes an operation to occur. | |
|
|
|
| The access modifier, ______________, indicates that the code can be accessed by any other class. | |
|
|
|
| A ___________ is a small window that can display messages, accept user input or ask for confirmation. | |
|
|
|
| A String object is ______________ and cannot be modified. | |
|
|
|
| A constructor method header must contain a return type. | |
|
|
|
| A method that contains a reference data type that doesn't reference an object will result in an outOfBoundsException. | |
|
|
|
| An attribute of an object is synonymous with the data or value assigned to the attribute. | |
| The filename of a Java source code file must match exactly the class name assigned at the beginning of your program. | |
|
|
|
| Java allows variables with the same name in the same procedure. | |
|
|
|
| Which of the following is true? | |
|
|
|
| The ____ of an object are instructions that the object uses to manipulate values, generate output, or perform actions. | |
|
|
|
| The code arrayName.length returns ___________. | |
|
|
|
| In object-oriented terminology, the characteristics of an object are defined by its ____. | |
|
|
|
| ____ is the capability of an object to have data and functionality available to the user, without the user having to understand the implementation within the object. | |
|
|
|
| ____ means that a programmer can use a class, along with its methods and data, to create a subclass, which saves time and coding. | |
|
|
|
| All are reasons to use methods EXCEPT | |
|
|
|
| Which of the following is true about arrays? | |
|
| Which of the following is NOT true about passing arrays to a method. |
|
|
| |
|
|
|
|
|
| |
|
| The keyword, ____, refers to the object itself. |
|
|
| |
|
|
|
|
|
| |
|
| In order to copy an array, the target array must already have been created. |
|
|
| |
|
|
|
|
|
| |
|
| Which of the following is NOT a primitive type in Java? |
|
|
| |
|
|
|
|
|
| |
|
| The array class contains all of the following methods EXCEPT ____. |
|
|
| |
|
|
|
|
|
| |
|
| A(n) ____ is a listener interface that listens for any events that occur during the execution of a program. |
|
|
| |
|
|
|
|
|
| |
|
| The ________ command creates a subclass that is an extension of a superclass. |
|
|
| |
|
|
|
|
|
| |
|
| An APPLET tag must contain all of the following in order to access the Java applet EXCEPT: |
|
|
| |
|
|
|
|
|
| |
|
| ________________ methods and variables are shared by all members of the class. |
|
|
| |
|
|
|
|
|
| |
|
| Java uses ____________ classes to convert data types. |
|
|
| |
|
|
|
|
|
| |
|
| _______________ separates the class implementation from the use of the class. |
|
|
| |
|
|
|
|
|
| |
|
| ___________________ describes the relationship between two classes. |
|
|
| |
|
|
|
|
|
| |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
