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 do you mean by local variable and instance variable?

908


When can an object reference be cast to an interface reference in java programming?

965


What is a type parameter in java?

945


What is the generic class?

916


How do you replace a string in java?

964


What is assembly condition codes?

946


Is integer passed by reference in java?

982


Why java strings are immutable in nature?

991


How can we make a class singleton?

1018


What are the types of java?

1036


What are the differences between include directive and include action?

1092


Explain exception chaining in java?

1101


How do you escape in java?

1009


What is variable in java?

922


Compare Mutex and Semaphore in java.

948