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 / kalyan

it will shows complie time error,to execute we typecast the
int to byte

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is finalize() similar to a destructor?

1078


What are use cases?

1017


Can classes declared using the abstract keyword cab be instantiated?

1097


How do you sort data in java?

1005


Explain about the interpreter in java?

1107


How do you use spaces in java?

1039


How does indexof work?

1011


What is boolean in java?

1029


Difference between throw and throws?

1161


Can we extend a class with private constructor?

1074


Why we use multi threading instead of multiprocessing?

1123


How do you clear an arraylist in java?

1022


How do you sort a set in java?

969


What do you mean by chromounits in java8?

1003


what do you mean by stream pipelining in java 8? Explain

1080