class test {
public static void main(String args[]) {
System.out.println("My first Program of JAVA");
}
}
- As I told u earlier that in Java we make class files and then compile it...
- static is used for using class without object.
- main() is the method which is used to execute program code and display a resultant... As I have given here a simply output "My first Program of JAVA".
- String args[] = declaring variable of named args of array type...
your comments are welcomed... :)
No comments:
Post a Comment