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

System.out.println(101/14)
what is the output?
a)6
b)14
c)7.14
d)0

Answer Posted / arjun

There should be a semicolon(;)at ending of the code...
i.e
System.out.println(101/14);

Then ans wil b 7 only

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is singleton class example?

1039


Is java a pure object oriented language?

974


What is a java object and java application?

1059


What is literal example?

961


Can a class with private constructor be extended?

958


What are different types of states exist for a thread?

1016


What about anonymous inner classes in java?

1044


What is ordered map in java?

1020


State some advantages of java?

1252


What are green threads in java?

1009


What is the different between get and post?

982


Can we override a variable in java?

1024


what is the messsage u r going to get from an objectoriented programing?

2114


What data type is string java?

970


What do you mean by ternary operator in java?

1029