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

Which is a valid identifier?

1098


Explain about java sdk?

963


What is the null?

949


What are class members by default?

1020


What is super?

1047


What are the high-level thread states in java programming?

999


What is stringreader?

900


What are abstract classes and anonymous classes?

1023


What is java and its types?

1015


What restrictions are placed on method overloading in java programming?

997


What is the transient keyword?

2009


What do you mean by composition in java?

949


What is overriding in java?

986


How does finally block differ from finalize() method?

997


What are advantages of using Java?s layout managers than windowing systems?

2315