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

How many bits is a word?

1012


Can you add null to a list java?

1063


What is arrays sort in java?

970


Are arrays primitive data types?

1193


Is string serializable in java?

1027


What is difference between public static and void?

1028


What happens if a constructor is declared private?

1039


What are the types of methodology?

1106


How many characters is 16 bytes?

1011


What is thread synchronization in java?

905


What is assembly condition codes?

996


When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?

1045


how to open and edit XML file in Weblogic???

1976


What are advantages of exception handling in java?

1027


If I only change the return type, does the method become overloaded?

933