This program is comprised of two primary features:
- Class Definition - the keyword
classbegins the class definition for aclassnamed name. The code for each class goes between the opening and closing braces. The class name format is UpperCamelCase, meaning the first letter of every word is capitalized and there are no spaces between the words. - Main Method - Every application must contain a class that has been declared the main method with signature
public static void main(String[] args). We will dive further into declaring methods, and terms such aspublic,staticandvoidas we move further along. For now, remember how to declare a main method.
Special Note: A vital aspect of syntax to keep in mind as we move forward is that every statement must end in a semi-colon (;), as you see above in our Hello World example.
aaa