Saturday, 20 December 2014

Meaning for public static void main () in java

Meaning for public static void main () in java
public  is a modifier indicates that method can be used by other java clases
static  is a modifier indicates that main() doesn’t require any object to access the method
void -no value is returned

main() -flow control is given to main().Execution order is depend on this instruction order  in the main() function

Tuesday, 16 December 2014

Class Key Words And Identifiers In Java


public class Display{

public is a keyword which means means what we are named can use by other classes
class is a keyword which indicates a class is being named
Display is an identifier gives the name of the class

{   Opening braces delimiter  indicates description of class members