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

public static void main(String[] args) {

if(System.out.printf("hi",null) == null)
{
System.out.println("byee");
}
}


In printf(String format, Object args), We also need to
specify argument.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between heap memory and stack memory?

1067


What is variable explain?

1003


What is xslt in java?

978


what is a working thread? : Java thread

1038


Can we extend a class with private constructor?

1007


What is qms certification?

953


Which sorting is best in java?

1001


Is object a data type in java?

1113


What is e java?

1102


What is the difference between post and put?

1062


What is an 8 bit word?

1050


What is stringwriter?

953


What is generic class?

1092


What is meant by inheritance and what are its advantages?

1104


Does google use java?

956