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 / nashiinformaticssolutions

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 are the methods used to implement for the key object in the hash map?

1041


What is serialization in java?

1058


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

1022


what is meant by encapsulation?

1083


What is anagram in java?

932


Will the jvm load the package twice at runtime?

1100


What is meant by stack and queue?

1069


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

2371


What is final method?

1070


What is the difference between a switch statement and an if statement?

1090


What is binary search in java?

995


What is bool mean?

1076


Difference between predicate, supplier and consumer ?

1060


What is unmodifiable collection in java?

923


What do you understand by casting in java language?

1029