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

claass WithoutSemicolon
{
public static void main(String args[])
{
if(System.out.printf("hello java")==null)
{}
}
}

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to print fibonacci series up to count 10.

902


What is ctrl m character?

1059


What is string and its types?

1187


Why there are some null interface in java? What does it mean?

1128


Can a class be defined inside an interface?

1035


Why declare Main() method as a static in java ?

1083


What is a control variable example?

1022


What is null object in java?

1017


What is constructor chaining in java?

1069


Explain different ways of creating a thread. Which one would you prefer and why?

1043


Why java is said to be pass-by-value ?

1043


Can we have 2 main methods in java class?

1024


What is int argc char * argv?

1171


How many bits is a float?

1013


Why do we create threads in java?

1255