Java Programs #01

In this series we only see the basic of java program from basic. here i assume you the basic of integer, character, String, array, what is main class.

Let's see the the first java program

1. Open notepad Write the program as

public class java1

    public static void main(String[] args)
        System.out.println("Hello "+ args[0]);
        String vb= args[1];
        System.out.println("hii "+ vb);

Like this

2. Save it as

3. Then open cmd or Command prompt from start button.

21 views0 comments

Recent Posts

See All

#3 HTML page frame

Link frame or target attribute Links are one of the benefits of using frames. Links have a menu / link on the left side of the browser and when I click the link the content is displayed on the right.