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

diffrence b\w println() and printf()

Answer Posted / vidya sarode

println prints on a new line, where as print prints on the
same line.

For example, in your program you use "print" to print the
word "Detroit" and then you use "print" again to
print "smells" the output would be:
Detroitsmells

If you use "print" to print "Detroit" and then you
use "println" to print "smells" your output would be:
Detroit
smells

Is This Answer Correct ?    33 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array size in java?

966


What is a final class in java?

1026


Which is best ide for java?

1052


What is the string function?

960


What is the difference between array list and vector in java?

940


What is object data type?

1007


Why charat is used in java?

1065


Which software is used for java programming?

1031


What is the range of a character variable?

995


Write a program in java to establish a connection between client and server?

980


What is internal iteration in java se 8?

1205


What are triggers in DB? Explain their types. How do they work?

1094


Can we call virtual funciton in a constructor ?

2210


What is equlas() and hashcode() contract in java? Where does it used?

1139


What is use of map in java?

1016