public class Print{
//-----------------------------------------------------------------
// function of print
//-----------------------------------------------------------------
public static void main (String[] args) {
System.out.print ("Srilanka is a blood river country");
System.out.print ("Majority is Singalish");
System.out.print ("They are killing tamil people");
//----------------------------------------------------------------
// function of println watch output to understand the different
//-----------------------------------------------------------------
//to give line space
System.out.println (" ");
System.out.println (" ");
System.out.println ("Srilanka is a blood river country");
System.out.println ("Majority is Singalish");
System.out.println ("They are killing tamil people");
}
}
THIS IS A PROGRAM SHOWS THE DIFFERENTS OF THE PRINT AND PRINTLN COPY THIS CORD AND PAST ON YOUR TEXT PAD AND SAVE IT AS Print.JAVA, AND THE SAVE AS TYPE IS ALL FILE.
CHAPTER ONE MAIN
Browse: Home > CHAPTER ONE-1
Thursday, December 25, 2008
CHAPTER ONE-1
Labels: Java Chaptor one
0 Comments:
Post a Comment