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 / sanchit

Answer is 7,
as int is the default datatype for numeric values.. Not float.

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain garbage collection in java?

981


Is object a data type in java?

1115


Explain about the performance aspects of core java?

1054


What is int argc char * argv?

1162


What is the difference between access specifiers and access modifiers in java?

1174


What is data object example?

1014


How to do a true java ping from windows?

1158


In which language java is written?

982


What is variable explain with example?

1062


What is structure of java heap? What is perm gen space in heap?

1126


What is callablestatement? How you can call stored procedure to pass in parameter?

1025


What is Major and importance difference between for and foreach loop ?

1151


When throws keyword is used?

1000


What does main method?

979


Why is the main method declared static?

1137