Friday, April 8, 2016

Java programming Language Code Examples-printf(1)

Smiley face

Code:

Smiley face

Output:

Smiley face

note:

whatever you type into the System.out.println() that will be the output.
It also lead to a new line no need to use \n

Code:

Smiley face

note

also try and see \t \' \" \? into System.out.println()
Smiley face

note

this code should be in the all programme
class : class kyword is used to declare classes in Java
class name should start with Capital letter.
ClassnName Should be the same name of saved java file
(this java File name "HelloWord.java")

No comments:

Post a Comment

Wel Come !!! computer express