Java Application (Module 2) Flashcards
This can be used to identify the authors of the program
Comment “//“
This can be place anywhere in the line
Singe-line comment “//“
This comment are enclosed and the compilers ignores it that anything appears on the inside
Multiple-line comment “/example/“
This is name of things, such as variables, constants, and methods that appears in the program
Identifiers
This is always in a lowercase like a special symbols.
Reserved Words
This is the starting for JVM to start execution of a java program
main()
it is an access specifier that we should use before the main() method so that the JVM can identify the execution point of the program
public
This method are the method which invokes without creating the object, we don’t need any object to call the main() method
static
this is return type. it acknowledges the compiler that main() method does not return any value.
Void
This method accepts data from the user. it accepts group of string.
String args []
It is a set of values together with a set of operations on those values
Data type
to run the program this needs to execute
public static void main (String [] args);