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 / p.nandakishore

System is class in java.lang package

out is a static member of type PrinStream class(java.io)
declared in the System class.static members of a class can
be accessed directly by classname that's why System.out.

println is a method in PrintStream class.out is of type
PrintStream that's why you access println w.r.t out.

why this big statement? because here no need to import any
package, like you include a header file in c or
c++.java.lang is the default package.

Is This Answer Correct ?    55 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a package in java? List down various advantages of packages.

1258


what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread

955


Why do we use bufferedreader?

982


Can string be considered as a keyword?

1023


Can a class with private constructor be extended?

921


What are different types of encoding?

1061


How is it possible in java programming for two string objects with identical values not to be equal under the == operator?

1011


what is meant by abstract class?

1108


Differentiate between stringbuffer and stringbuilder in java.

1004


How do you replace a string in java?

991


what is the difference between a threads start() and run() methods? : Java thread

1003


Why do we need singleton?

951


Why is it called buffering?

1100


How do you check if two given string are anagrams?

945


What is the basic difference between string and stringbuffer object?

1065