Shared Flashcard Set

Details

java cards
intoduction to basics
5
Computer Science
Undergraduate 1
04/02/2016

Additional Computer Science Flashcards

 


 

Cards

Term
The class name must be the same as the name of the saved folder.
Definition
[image]
Term
The class name is an identifier , it consists of series of characters of letters , digits , underscore , and dollar sign and it couldn't begin with digit or have a space .
Definition
some valid class name examples:

welcome1 ,
$welcome ,
_welcome ,
welcome_tojavaworld
Term
every class you define must start with public keyword.
Definition
every class you define must have a main method to work or else it will generate an error .
Term
The letter (s) in (String [] args) is uppercase.
Definition
[image]
Term
don't forget to close the brackets after opening them or else it will create an error.
Definition
for instance:
public class sara {
public static void main(String [] args) {
// body
} // the end of the static
} // the end of the class
Supporting users have an ad free experience!