Monday, January 14, 2013

hallo world 2

In java programing if you want to out some text than you should write

System.out.println("welcome to java programing")

what ever you write on the " " will shown as a out put

For making a row down use \n

such as if you want to see a output like
WELCOME TO
JAVA
PROGRAMING                                                                

input
System.out.println("WELCOME TO\nJAVA\nPROGRAMING)

No comments:

Post a Comment