Notes Flashcards
1
Q
What is a package in Java?
A
A package is a way to group Java programs together. This line (package.com.java24hours;) tells the computer to make com.java24hours the package name of the program.
2
Q
A statement is?
A
Any and each instruction you give a computer.
3
Q
What does the “main” statement in Java do?
A
The “main” statement tells the computer that the main part of the program starts here. The main statement is the entry point to most Java programs. ~~ public static void main(String[ ] arguments { }