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

What does main method?

975


Can a constructor call the constructor of parent class?

1032


What is floating data type?

979


What is java util list?

955


I want to persist data of objects for later use. What is the best approach to do so?

1052


Why a dead thread occurs?

971


What is the use of join method?

1026


What are thread safe functions?

946


In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?

1310


Can we create a class inside a class in java?

1076


What will happen if static modifier is removed from the signature of the main method?

959


How do you escape json?

993


What are exceptions

1096


Explain the difference between protected and default access.

993


What is variable argument in java?

999