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...

byte a=5;
byte b=5;
byte c=a+b;
System.out.println(c);
whats the o/p?

Answer Posted / ravikiran

compilation fails
possibl;e loss of precision
because results in an int

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is indexof in java?

983


What is exception handling in java?

1020


What methods are used in Servlet?Applet communication?

2223


Difference between class#getinstance() and new operator ?

1191


What is thread synchronization in java?

879


Explain the inheritance?

950


What is == in java?

982


What is treeset in java?

977


Which object oriented concept is achieved by using overloading and overriding?

1087


Can we force the garbage collection to run?

930


How are variables stored in memory?

1044


What initialize variables?

996


What is a conditional statement explain with example?

999


Why is java not 100% pure oops?

1139


Are arrays dynamic in java?

1017