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 skeleton and stub? What is the purpose of those?

1120


How does regex work?

957


What is method overloading in java ?

1087


Write a program to reverse a number in java?

1087


What is the method overriding?

1082


What are Normalization Rules? Define Normalization?

1052


What is variable in java?

986


What class allows you to read objects directly from a stream in java programming?

1069


What is volatile keyword in java

1120


what is instanceof operator used in java?

1034


What is difference between array and arraylist in java?

988


What type of variable is error flag?

1067


What is the difference between throw and throws in java?

1096


Can you tell me range of byte?

990


What is constructor chaining and how is it achieved in java?

1143