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

define System.out.println(); what is the meaning!

Answer Posted / raj

System- public final class System extends Object

The System class contains serveral useful class
fields and methods.it cannot be instantiated

out-

The out variable in the System class refers to (points
to) an instance of the PrintStream class (a PrintStream
object) which is automatically instantiated when the System
class is loaded into the application.

println()-the println() methods in class PrintStream.

System.out.prinln("HI DILIP ");

This statement invokes the println() method of an object of
the PrintStream class which is referred to (pointed to) by
the variable named out which is a class variable of the
System class.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.

1045


Why java is made?

954


What is the hashcode () and equals () used for?

1015


Can a class have multiple constructors?

1011


What advantage do java's layout managers provide over traditional windowing systems?

946


What is polymorphism in java? What are the kinds of polymorphism?

1054


What is the primitive type short?

1009


What class of exceptions are generated by the java run-time system?

1164


Is java free for commercial?

911


What is the name of the java compiler?

1042


Can this keyword be used to refer static members?

1016


What is string builder?

878


When to use runnable interface vs thread class in java?

959


Explain Basics of OOP Language in java

1041


What is meant by bytecode?

1011