Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the difference between System.out.println and out.println in java

Answer Posted / vigneshwaran r.r

:) OMG.... out.println() is used in JSP, ofcourse right, but one thing we have to notice is, we had created the object for the class PrintWriter as "out". so we use that in JSP, if we create object for that PrintWriter class as "hello", we have to print line as hello.println()..

System.out.println() is the standard method that used to print a line. here System is the Class and out is its object and println() or print() are the method that are in the System class. Generally System class has three object in-built (in, out, err)

Is This Answer Correct ?    24 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is threadfactory?

1074


Will the general public have access to the infobus apis?

1035


What is chat area? Explain.

1007


What you mean by COM and DCOM?

1047


Why won’t the jvm terminate when I close all the application windows?

1224


how do you Handle Front End Application data against DB with example?

1968


Is jvm a overhead?

1075


What are the different algorithms used for clustering?

1052


What is JTS?

2354


Java is fully object oriented languages or not?

977


What is metaspace?

1016


Is the ternary operator written x : y ? Z or x ? Y : z ?

1089


What is the diffrence between a local-tx-datasource and a xa-datasource?

1031


Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

1034


What does module-relative mean?

1141