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 method overloading in JAVA? Why is it not present in C ?

1036


Explain how to force the garbage collection in java.

923


What is javac used for?

884


Explain jdk, jre and jvm?

909


Can we extend a class with private constructor?

931


Explain working of call by reference function invoking.

965


What is the structure of java?

960


What does opcode mean?

997


What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

1069


make a method which any number and any type of argument and print sum of that arguments.....

1747


please send me hr interview questions in it industry

2061


What is difference between module and function?

1077


Explain static nested classes ?

1041


If two threads have same priority which thread will be executed first ?

1412


What is super?

1047