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 is advantage of java?

954


What does the three dot emoji mean?

1050


Why do we need strings in java?

939


What is boolean logic?

968


What is get () in java?

972


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

997


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

2048


Why static functions are used?

1025


What is toarray method in java?

1027


How many types of voids are there?

919


How do weakhashmap works?

1092


How many bits is a boolean?

1033


Can we override constructors in java?

1072


Why inputstreamreader is used in java?

958


What is a local, member and a class variable?

972