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 / hr@tgksolutions.com

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

Explain garbage collection in java?

981


What is the use of default method in interface in java?

1009


What are the different ways of creating thread?

1013


What is identifier give example?

1029


What is called module?

975


How to perform merge sort in java?

1058


What is jit and its use?

989


Explain the key functions of data binding?

1021


Can a variable be local and static at the same time?

1003


Is Java a dying language?

1084


What is the purpose of using break in each case of switch statement?

1027


What is the difference between static binding and dynamic binding?

1127


What is the purpose of a default constructor?

1099


Explain access modifiers in java.

1039


Give me example of derived data types.

1156