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 the collections api?

1122


How do you calculate roots in java?

1162


What is classes in java?

988


worst case complexities of Quick sort and Merge sort.

1090


explain different ways of using thread? : Java thread

1061


What is string and its types?

1260


What is instance synchronization?

1106


Can a singleton class be inherited?

1016


What is the difference between jdk and jre?

1114


What is a java object and java application?

1088


How will you initialize an Applet?

1203


Are arrays primitive data types?

1258


Is null a string in java?

1168


Explain the purpose of garbage collection in Java?

1082


What is a string token?

1126