Java Language/Data Types | Objects/Methods | File IO/ Exceptions | Class Design | Inheritance / Interfaces |
---|---|---|---|---|
What is the data type
In Java, a(n) _________ specifies the kind of values that can be stored in a variable.
|
What is the return type, the name of the method, and a list of the parameters (if any)
A method header consists of which of the following parts?
|
What is Create your own Error Class
What is recommended if the standard library does not have an exception class that describes your particular error situation
|
What is uppercase letter
By convention among Java programmers, class names begin with a(n) _____________
|
What is public interface
What is the term used to specify the collection of things you can do with objects that belong to a class?
|
What is 2 forward slashes
In Java, a comment on a line begins with which characters?
|
What is the Constructor
Which part of a class implementation contains the instructions to initialize an object's instance variables?
|
What is deleting existing data.
What will PrintWriter do when opening an existing file?
|
What is instructions
A method is a sequence of ___ that accesses the data of an object.
|
What is instanceOf operator
To test whether an object belongs to a particular type, use
|
What is An entity in your program that is manipulated by calling methods.
What is an object?
|
What is none.
What is the return type of a constructor?
|
What is Space, tab, enter -Carriage Return
What is white space?
|
What is Instance Variables
What mechanism does an object use to store its data?
|
What is extends
Which keyword is used to create a subclass?
|
What is return value
The value calculated by a method is called its _____ value.
|
What is class name and file name
The class constructor always has the same name as __
|
What is Input file not found or security exception
Under which condition will the PrintWriter constructor generate a FileNotFoundException?
|
What is Easy to change internals
Which statement describes a central benefit of information hiding?
|
What is It invokes the constructor of the superclass from within the constructor of the subclass.
What does the keyword super do
|
What is final
Which statement defines a constant
|
What is Dot notation
What is the correct way to invoke methods on variables in Java that are strings
|
What is trim()
Which String class method will remove spaces from the beginning and the end of a string?
|
What is automatically generate HTML pages that describe classes.
The javadoc utility is used to
|
What is The keyword implements and the name of the interface
It invokes the constructor of the superclass from within the constructor of the subclass.
|