//All the codes are executed in Eclipse
//How to write a simple hello world Program
// Main class
class Parent {
// Main function , since there is return value so we are using void main
public static void main( String args[]) {
// system.out.println or system.out.print is basic syntax , if you want to display something
// you can use print instead of println
System.out.println("Hello World");
// end of main function
}
// end of class
}
//How to write a simple hello world Program
// Main class
class Parent {
// Main function , since there is return value so we are using void main
public static void main( String args[]) {
// system.out.println or system.out.print is basic syntax , if you want to display something
// you can use print instead of println
System.out.println("Hello World");
// end of main function
}
// end of class
}
// All the queries will be answered on demand
// if i did some mistake in code , ur; suggestion will be considered Helpful
/* Follow me on :
www.facebook.com/arslan.aliawan
@arslanaliawan2 (twitter)
*/
// if i did some mistake in code , ur; suggestion will be considered Helpful
/* Follow me on :
www.facebook.com/arslan.aliawan
@arslanaliawan2 (twitter)
*/
No comments:
Post a Comment