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

Explain about data types?

999


What is %02d?

1034


What is an i/o filter?

1655


What is super in java?

934


What does it mean that a method or field is “static”?

920


Explain the purpose of garbage collection in Java?

970


Explain abstract class in java?

985


What do you mean by stream pipelining in java 8?

1154


Can we use this () and super () in a method?

925


What is time complexity algorithm?

987


What do you mean by platform independence?

990


What is the purpose of the System class?

949


Explain parallel processing in java8?

1152


Can we have return statement in finally clause? What will happen?

912


What is oop principle in java?

1047