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

What is tight coupling in java?

0 Answers  


how can program polindrome using java

1 Answers  


Why doesn’t the main method throw an error with no arguments?

0 Answers  


How do I open the java control panel?

0 Answers  


Can the main method be overloaded?

0 Answers  


In a barber shop there are 2 doors. customer come in 1 door, leave in other. minimum # of chairs. barber spend his life in cutting. always barber can cut 1 customer. few chairs in the shop. if barber busy customer waits, if chairs full, customer leave. if no customer, barber sleeps. treat barber and customer as 2 threads. you can use Semaphore class with arrive and depart and count as parameter.

0 Answers   NCR,


What is an api in java?

0 Answers  


Topic- looping,function overloading,nesting ,polymorphism. Aim - to write a function with a name buzz-buds,that will check whether the given numbers are buddies or not on the basis of no. of parameters passed during function calling.

0 Answers  


How can the static main method use instance variables?

0 Answers  


hibernate3.jar file contain 7 dependency jar files what is that ?

1 Answers  


Can you compile java into exe?

0 Answers  


What services can invoke lambda?

0 Answers  


Categories