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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is r * in math?

936


How to create an interface?

1007


What is boolean false?

929


Name some classes present in java.util.regex package.

980


What is difference between jdk,jre and jvm?

1046


How is it possible for two string objects with identical values not to be equal under the == operator?

922


What are the different types of garbage collectors in java?

1050


Why are generics used?

908


Is java platform independent?

922


What is use of super keyword?

915


What is JVM and is it platform independent?

987


What is the use of StringTokenizer class?

1015


Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?

1099


Why do we use string?

969


What is structure of java heap? What is perm gen space in heap?

1049