This method returns an int that has the value of the number of characters in a particular String object
What is the length() method?
These three reasons explain why methods are fundamental building blocks of a programming language.
What are 1.Easily re-used 2.Easy to debug, and 3. Break up a complex task into smaller, simpler tasks?
A class can be thought of as this for creating an object.
What is a prototype?
These errors are detected by the compiler.
What are syntax errors (grammatical mistakes)?
Array and object variables get passed to a method in this way.
What is pass by reference?
Since strings are objects, they cannot be compared using == but can be compared with this method.
What is the equals() method?
This type of method performs a task.
What is a void method?
These types of variables, also called data fields, are the variables contained in an object.
What are instance variables?
During this event, an exception signals the occurrence of an unusual event.
What is during program execution (runtime)?
OOP stands for this.
What is object-oriented programming?
Java uses this character set, which includes the ASCII character set.
What is the Unicode character set?
This type of method performs a task and returns one value.
What is a return method?
This type of constructor does
1. not have parameters
2. initializes all data fields of an object
3. generally sets data fields to a default value and
4. always has the same name as the class.
What is a default constructor?
Not unlike baseball, these two things need to happen when for exceptions in Java.
What are throwing an exception and handling the exception?
Constructor(s), Accessors, Mutators
What are member methods?
A string can have any number of characters, including this number of characters.
What is zero characters?
A legally overloaded method can have the same name but must have a different number of parameters and/or different type of parameters and this also matters.
What is order matters?
These types of methods of a class allow you to access the values of the data fields and frequently include the word "get".
What are accessor methods?
Place statements that may cause an exception within this type of block.
What is a try block?
This class is considered a more specialized class derived from one existing class.
What is a subclass?
The string with zero characters is called this.
What is an empty string?
When passing a variable to a method, you can do it in these two ways.
What is pass by value and pass by reference.
What are 1. make classes easier to use, 2. make classes safer to use, and 3. make classes more maintainable?
When an exception is thrown, this block begins execution.
What is the catch block?
The subclass can redefine (override) the public methods of the superclass, remember that the redefinition applies only to objects of the subclass but not objects of this class.
What is the superclass?