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...


explain System.out.println

Answers were Sorted based on User's Feedback



explain System.out.println..

Answer / minnu

System is a class. out is an object of class PrintStream and
is static and in class System. println() is a methode in
class PrintStream, which can be called by using object.

Is This Answer Correct ?    0 Yes 0 No

explain System.out.println..

Answer / lalit bhangale

System.out.println();
System is the Class in which out is static object of
class PrintStream which refers t othe standard output ie
console output,
and PrintStream class contains the method println()
which will be accessed using PrintStream object out.
Since out is static so it can be only accessed using
class name in which it contains.
so System.out.println(); simply invokes println()
method to output specified data to standard output console.

Is This Answer Correct ?    0 Yes 0 No

explain System.out.println..

Answer / neha

here println is a method as only methods can be called with
dot operator and out is a static variable of class System
as only static variables or methods can be called using
classname.staticvariable.method.. thankyou

Is This Answer Correct ?    0 Yes 0 No

explain System.out.println..

Answer / durgesh jaiswal

System:- is a predefined class that provide access to the
system from anywhere in the program

Out:- is the outputstream that is connected to the console

print():- Display the string and any result passed to it

Is This Answer Correct ?    0 Yes 0 No

explain System.out.println..

Answer / madhuri

it is an statement to give the out put which we want.the out
put whcich we want must give by using this statement .it
will b used in java..

Is This Answer Correct ?    0 Yes 0 No

explain System.out.println..

Answer / umesh

'System'= a class in java.lang package
'out' = a static object of PrintStream class in java.io
package
'prinln()' = method in the PrintStream class.....

Is This Answer Correct ?    0 Yes 0 No

explain System.out.println..

Answer / deepa george

System: it is a predefined class that provides access to the system.
out: it is the output stream that is connected to the console.
println(): it is a built-in method that displays the string which is passed to it

Is This Answer Correct ?    0 Yes 0 No

explain System.out.println..

Answer / vipul patil

System is public class...& out is static object So class
System can invoke it directly...out is a static object of
PrintStream.class ,& println() is method of PrintStream.class




so "System.out.print(" hello");"

Is This Answer Correct ?    0 Yes 0 No

explain System.out.println..

Answer / gopal

System:it is a predefined class which is defined in a package.
out:to display result on monitor.
println:print next line

Is This Answer Correct ?    0 Yes 0 No

explain System.out.println..

Answer / malyadri tavva

System:System is predefined class in java.lang package.
out: out is final and static variable in system class and
it is a referece variable in PrintStream class.

we call the static varible with their class names.i.e
System.out
println():

println() is a method in PrintStream class so we can call
this method by using the reference variable i.e
System.out.println().

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

How do you use substring in java?

0 Answers  


How does hashset work in java?

0 Answers  


Java openings 3 - 5 years, Lnt Infotech. requirements - core java, J2ee, struts, hibernate Interview Date:- 19 March 2011 Time:- 9:00 AM to 12:00 Pm Interview Location - L & T Infotech, Manapakkam, Chennai Refererral PS NO:- 291649 (Please mention this when u fill the form only then u will be considered for interview) Documents Required:- Latest Resume, Photograph and last 3 payslips Mail me on vasan2211@gmail.com once u appear for interview

0 Answers   L&T,


What is the need of transient variables in Java ?

0 Answers   MCN Solutions,


what do you understand by synchronization? : Java thread

0 Answers  


Can a class be protected in java?

0 Answers  


What will be the default values of all the elements of an array defined as an instance variable?

0 Answers  


what is multi-tasking

3 Answers   Anand Group, Photon Infotech, Tech Mahindra,


What is a prefix function.write down a code to compute prefix function.

0 Answers  


What will happen if a thrown exception is not handled?

0 Answers   ABB, Akamai Technologies, Infogain,


how to handle exceptions in core applications?

2 Answers   CSS,


What is binary tree in java?

0 Answers  


Categories