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 java same as core java?

1099


How will you calculate the depth of a binary tree if the tree contains 15 nodes?

1082


What is a short in java?

1048


Can you give names of Container classes?

2306


Write a program to find the greatest of three numbers in java?

1006


When do I need to use reflection feature in java?

1081


What super () does in java?

910


Can an interface implement another interface?

1036


What is ternary operator? Give an example.

1082


What is palindrome in java?

994


Which is dependent variable?

900


How many bytes are a float?

983


Is space a char?

927


What is nullpointerexception?

1074


What is string :: npos?

1089