Java Concepts 3 - Implementing Classes Flashcards
abstraction
The process of finding the essential feature set for a building block of a program such as a class.
access specifier
A keyword that indicates the accessibility of a feature, such as private or public.
documentation comment
A comment in a source file that can be automatically extracted into the program documentation by a program such as javadoc.
encapsulation
The hiding of implementation details
garbage collection
Automatic reclamation of memory occupied by objects that are no longer referenced.
initialization
Setting a variable to a well-defined value when it is created.
instance field
A variable defined in a class for which every object of the class has its own value.
javadoc
The documentation generator in the Java SDK. It extracts documentation comments from Java source files and produces a set of linked HTML files.
JDK
The Java software development kit that contains the Java compiler and related development tools.
local variable
A variable whose scope is a block
constructor
A special block of statements called when an object is created
test class
a second class, with a main method, to execute test instructions.
public interface
The features (methods, fields) of a class that are accessible to all users
return type
The type of the primitive or object that will be returned at the completion of a method
//
single line comment, comments out the rest of the line to the right of the //