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

Difference in the use of print, println, and printf.

Answer Posted / glibwaresoftsolutions

The items can be printed using print, println, or printf, but print prints every element while keeping the cursor in the same line. The cursor is moved to the next line via println. Additionally, we can use format identifiers with printf.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the integer of 16?

928


When we should use serialization?

962


Is it possible for yielded thread to get chance for its execution again ?

962


Why stringbuilder is not thread safe in java?

967


Why Java is not pure Object Oriented language?

1058


Why do we use return statement?

965


Is binary a low level language?

867


What is collections framework?

1098


Why do we need singleton class?

930


Can we extend singleton class in java?

912


What is the size of boolean variable?

1024


Can we make the abstract methods static in java?

994


what is the use of bean managed and container managed with example?

1924


What does pointer mean?

973


Can you write a java class that could be used both as an applet as well as an application?

907