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 synchronization? : Java thread

1010


What is string pooling concept?

1056


How the metacharacters are different from the ordinary characters?

1010


What is a final class in java?

1002


What is the use of put method?

944


What is a boolean structure?

1076


Is class is a data type?

1070


How are multiple inheritances done in Java?

1124


What does provide mean construction?

1095


Is array synchronized in java?

1029


Is array passed by reference in java?

1021


What is the advantage of functional interface in java 8?

984


What is the size of int in 64-bit jvm?

1087


What is difference between add() and addelement() in vector?

1519


What are the advantages and disadvantages of reference counting in garbage collection?

1015