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 a pattern what is an anti pattern?

894


Explain how to convert any java object into byte array.

926


What is the purpose of garbage collection in java? When is it used?

999


What is the difference between member variables initialization and assignment in a constructor?

1176


Can we change the value of static variable?

905


What is the console in java?

1096


How to change the priority of thread or how to set the priority of thread?

990


Who developed java?

940


What is callable java?

923


Can we override constructor in java?

1044


Difference between character constant and string constant in java ?

962


Why are pointers not secure?

975


Why is the type for real numbers called double?

907


What is sortedset in java?

978


What is Java Reflection API? Why it’s so important to have?

1080