Tips for heathy life

Tips for heathy life

Kamis, 30 Oktober 2008

Recognized and print variable



I want to share how to Recognized and print variable. You can use this code but if you copy this code and paste in your blog/website, please insert this link of article.

int number = 10;
char letter ='a';
boolean result = true;
String str =" hello ";
System.out.println("Number = " + number );
System.out.println("Letter = " + letter );
System.out.println("Result = " + result);
System.out.println("Str = " + str );

0 komentar:

Posting Komentar