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 a vararg?

970


What is an example of procedure?

964


What is string made of?

919


Why does java have different data types for integers and floating-point values?

954


Is ++ operator is thread safe in java?

900


How do I remove a character from a string in java?

925


How hashset works internally in java?

1023


What is supplier in java?

960


What is the size of boolean variable?

1033


What is the purpose of garbage collection in java?

1049


What's the purpose of static methods and static variables?

1041


What is the equal sign?

1041


why using interface interface ?

1982


What are loops in java? What are three types of loops?

992


What is a parent class in java?

962