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

What is null object in java?

999


Can a class extends itself in java?

1010


When do we use hashset over treeset?

1028


What is the purpose of java?

991


What is exception hierarchy in java?

990


What's the difference between comparison done by equals method and == operator?

951


how to write a server program and sending the mails to the server using smtp protocol please help me

2045


What is the history of java?

975


What is function and method in java?

929


List implementations of list interface?

1018


Which are different kinds of source code?

1095


Why are functions called methods in java?

979


How do I get the | symbol on my keyboard?

1066


Explain polymorphism citing an example.

1026


How many types of classes are there in java?

1036