Thursday, October 28, 2021

Creating hello world program in netbeans(java with ant)

 >Open Netbeans

>Click on File

>Click on New Project

>Click on java with ant

>Click on java application

>After that write below code:-


package javaapplication1;

public class JavaApplication1 {

    public static void main(String[] args) {

        System.out.println("Hello world");

    }

}


No comments:

Post a Comment