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 threaded programming and when is it used? : Java thread

1068


what is bmg file and how to create that files?what will it contailn?

2355


What is the difference between path and classpath variables?

1056


Why is multiple inheritance not supported in java?

1034


What is downcasting?

1113


How do you implement singleton class?

986


Write a program to search a number in the given list of numbers.

1035


describe method overloading

1019


Can we override the static methods?

1033


Can you instantiate the math class?

1060


Can we overload destructor in java?

992


What are the data types supported by java?

1026


Explain access specifiers?

1177


What is use of functional interface in java 8? Explain

1019


What is broken and continue statement?

999