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.

Answers were Sorted based on User's Feedback



Difference in the use of print, println, and printf...

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

Difference in the use of print, println, and printf...

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

Difference in the use of print, println, and printf...

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

Difference in the use of print, println, and printf...

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

Difference in the use of print, println, and printf...

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

More Core Java Interview Questions

What restrictions are placed on method overriding?

0 Answers  


Give the difference between the println method and sqrt method?

0 Answers  


What is output buffer?

0 Answers  


what is features of jdk 1.5?

2 Answers   Accenture, Satyam, TCS,


I want to persist data of objects for later use. What’s the best approach to do so?

0 Answers  


What are heterogeneous objects?

0 Answers  


Without creating a new object, How you can retrieve a String or other object?

1 Answers  


Is namespace same as package in java?

0 Answers  


What is java in layman terms?

0 Answers  


Can I declare a class as private?

0 Answers  


garbate collector(GC)?

4 Answers  


How to send a request to garbage collector?

4 Answers  


Categories