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


Sytem.out.println(" "); this code what mean

Answers were Sorted based on User's Feedback



Sytem.out.println(" "); this code what mean..

Answer / sooraj

It does nothing but print a 'space' and new line to console.

Is This Answer Correct ?    15 Yes 2 No

Sytem.out.println(" "); this code what mean..

Answer / adikeanand@gmail.com

We know that println() method is available in PrintStream class of java.io package.To call any method of a class in java we required object of that class if the method is not static.we know println() is not static,so we required object of PrintStream class object.'System' is class in java and 'out' is static field in 'System' class.In java all static methods and static fields are accessed with class name,so 'out' is static field we access lke System.out that returns the object of PrintStream class with that PrintStream class object we can call methods of PrintStream class.Hence,we call like System.out.println(" "); when we execute this instruction we get one blank space after executing contol goes to next line.

Is This Answer Correct ?    12 Yes 2 No

Post New Answer

More Java Related AllOther Interview Questions

Sytem.out.println(" "); this code what mean

2 Answers  


What is tier in java?

0 Answers  


What is dialect in java?

0 Answers  


I want to control database connections in my program and want that only one thread should be able to make database connection at a time. Define how can I implement this logic?

0 Answers  


What are the disadvantages of java sockets?

0 Answers  


What is property file in java?

0 Answers  


What if I write static public void instead of public static void?

0 Answers  


Can we extract main method from another class?

0 Answers  


What is optional in java 8? What is the use of optional?advantages of java 8 optional?

0 Answers  


Can java program run without jdk?

0 Answers  


What is jpa project?

0 Answers  


What is the resourcebundle class?

0 Answers  


Categories