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

How to print a statement without using semicolan in java

Answer Posted / srinivaskumar.nimmana

Write like this to print...

if(system.out.printf("hello sree")==null)

here we r using printf instead of println()

Is This Answer Correct ?    25 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is thread safe in java?

942


How do you invoke a method?

953


What are methods of a class?

979


Is call by reference possible in java?

911


How many bits is a char?

929


Can a method be overloaded based on different return type but same argument type?

912


How do I enable java in safari?

985


what methods would you overwrite in java.lang.object class?

956


What is a substitution variable?

975


In case of inheritance what is the execution order of constructor and destructor?

1059


Can we have any code between try and finally blocks?

970


Why is static used?

985


What does nextint () do in java?

935


Can a vector contain heterogenous objects?

1008


Define an enumeration?

983