Programming/Java

NetBeans을 이용하여 Hello World작성

Ronie.Kang 2008. 11. 29. 01:35

1. create new project in netbeans




2. Select Project



3. Name and Location

간단한 콘솔 어플리 케이션이 작성이 되었습니다.

코드를 간단하게 source code를 살펴보면 아래와 같은 형태로 되어져 있습니다.

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package helloworld;

/**
 *
 * @author roniek
 */
public class HelloWorld
{

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args)
    {
        System.out.println( "Hello World" );
    }
}


java 독학을 위해 NetBeans를 통해 처음 작성해본 Java Console Application입니다.
이제 할 일들은 java와 c++의 다른 점에 익숙해져야 한다는 것입니다.
native와 java를 모두 다룰줄 안다면 정말 즐거울 것 같습니다.