Just below below steps;
- Start netbeans IDE, >>Start>>All Programs>>Netbeans>>Netbeans version
- Go to File Menu>>New Project>> Choose Java in Categories >> Java Application in Projects >> Click Next >> Just enter any Project Name, let say "HelloGiovanni" >> the click Finish
- In the main window, you can see HelloGiovanni.java, and the codes are also there. Now, we will show the word "Hello Giovanni Ricohermoso".
- After the line "// TODO code application logic here", just write this code. "System.out.println("Hello Giovanni Ricohermoso");
- Then we will run the program, just go to the left part of the IDE, you can see the Projects, just right click HelloGiovanni, then select run.
- Output Window will show and "Hello Giovanni Ricohermoso" also appear.
- Congratulations!!
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package HelloGiovanni;
/**
*
* @author Giovanni
*/
public class HelloGiovanni{
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
System.out.println("Hello Giovanni Ricohermoso");
}
}
No comments:
Post a Comment