OCA Summary 1 pag 40 Flashcards
Java classes consist of members called ___ and ___.
fileds and methods
An ___ is an instance of a Java class
There are three styles of comments:
Java beings program execution with a ____ method
The most common signature for the main() method run from the command line is:
public static void main(String args)
Arguments are passed in after the ___ ___
Arguments are indexed starting with ___
Java code is organized into folders called ____
To reference classes in other packages, you use an ___ ____.
A wildcard ending an import statement means you want to import all ___ in that ____
What is the special package that does not need to be imported?
Constructors create Java ____
A constructor is a method matching the ___ ___ and omitting the ___ ___
class name return type
When an object is instantiated, ___ and ____ of code are initialized first. Then the ___ is run.
fields and block of code
____ ____ are the basic building blocks of Java types. They are assembled into reference types.
Reference types can have methods and be assigned to ___