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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / sharmi

Both are used to display the output. But system.out.println
is used in java and out.prinln is used in scripting languages

Is This Answer Correct ?    28 Yes 16 No

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

Answer / anbu

In JSP out.println() will be used which means to print the
data in browser and in Core Java System.out.println() will
be user which means that it is for system.

Is This Answer Correct ?    8 Yes 3 No

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

Answer / manjuraj

Both are used to display the output.By default you can use
the system.out.println,but we con't we the out.println
directly.
If we import the [ import static java.lang.System.out; ]
static import then we can use the out.println.

Is This Answer Correct ?    7 Yes 5 No

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

Answer / hema

In jsp out.println means to print something in browser as a n html page,and System.out.println in which System already says for itself,everything will be printed in console

Is This Answer Correct ?    4 Yes 3 No

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

Answer / uday

Both are used for displaying outputs. System.out.println() will print it to the system output stream while the syntax out.println is used in jsp and web environment where its rendered on the browser..

Is This Answer Correct ?    3 Yes 3 No

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

Answer / vmpire

out.println() and System.out.println() both are using for display purpose
out.println() use in jsp code<%out.println("vmpire<'_'>")%>
System.out.println() is use for when you want print some on console
Here system is class and out is the static variable of System class of printstream class type println is static method of stream class

Is This Answer Correct ?    0 Yes 0 No

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

Answer / nag

why using out.println() in servlets and jsp but not using System.out.println() tell me answer plz

Is This Answer Correct ?    1 Yes 3 No

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

Answer / binod

yes..both r used to display the output...but
System.out.println() is used in core java..and out.println()
is used in advanced java...servlets,jsp,etc.....

Is This Answer Correct ?    2 Yes 8 No

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

Answer / sreenivasulu

same

Is This Answer Correct ?    2 Yes 13 No

Post New Answer

More Advanced Java Interview Questions

What is the difference between RMI and Socket?

2 Answers  


What is the difference between RMI registry and OS Agent?

0 Answers  


Difference between DurableSubscription and non- DurableSubscription?

0 Answers  


When a thread blocks on i/o, what state does it enter?

0 Answers  


How many times may an objects finalize() method be invoked by the garbage collector?

0 Answers  


What is waiting state? In what ways a thread can enter into waiting state?

2 Answers   Wipro,


Do we need to override service() method

0 Answers  


which of the following authentication is stronger than the others? a. Http Basic b. Http DIGEST c. Form based

1 Answers  


What is meant by multi-threading?

6 Answers  


Is “abc” a primitive value?

0 Answers  


How to implement RMI in Java?

0 Answers   TCS,


What is the difference between long.class and long.type?

0 Answers  


Categories