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 the purpose of an interface?

1051


Give reasons supporting that string is immutable.

953


Why java is not 100% object-oriented?

1524


What is the base class in java from which all classes are derived?

989


What are void pointers?

1317


What is difference between checked and unchecked exception in java?

1027


Can we have any code between try and catch blocks?

997


How do you do absolute value in java?

995


Differentiate between postfix and prefix operators in java.

1140


Can a top level class be private or protected?

1063


What is the difference between array and array list in java?

1241


What checkbox method allows you to tell if a checkbox is checked?

1015


Can we call virtual funciton in a constructor ?

2217


What is constructor chaining in java?

1072


Explain about arraylist?

1108