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

Define inheritance?

1074


explain multi-threading in java?

1085


What is the purpose of the finally clause of a try-catch-finally statement in java programming?

1011


Can You Have Virtual Functions In Java?

1203


Can we override the static method?

1081


Why does java have two ways to create child threads?

1001


What is use of a abstract variable?

1049


What’s the difference between callable and runnable?

1181


What are the advantages of compiled language?

1112


define the terminology association.

1149


What are the problems faced by java programmers who don't use layout managers?

1038


Why do we use bufferedreader?

1051


What does @override mean?

1281


Why are global variables used?

1072


How can we make sure main() is the last thread to finish in java program?

1254