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

Is 0 a prime number?

925


What is locale?

977


Do I need java on my pc?

975


Is null keyword in java?

884


What is jvm? How its run?

1018


Does java allow default arguments?

943


What is the use of runnable interface?

1085


What is the meaning of flag day?

959


What is linkedlist in java?

928


What is the syntax and characteristics of a lambda expression?

977


What is nextint java?

973


Can we create object of inner class in java?

881


What is a jagged array in java?

1042


What do you understand by copy constructor in java?

877


Is it possible for yielded thread to get chance for its execution again ?

962