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

what is the major difference between linkedlist and arraylist in java?

1193


What is files manifesting?

2195


What is array list in java?

1069


What is byte data type?

984


What is the purpose of the enableevents() method in java programming?

1164


Write a program to print all permutations of string?

1099


Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.

2722


Which is better arraylist or vector?

1012


List the features of java programming language.

1023


What are exception handling keywords in java?

1030


What is a type parameter in java?

984


What is meant by JVM? Is JVM platform independent or not?

1061


What is the difference between jdk, jre, and jvm?

1100


Is 9 a prime number?

875


What data type is a string?

998