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

It will show compile time error
possible loss of precision
found int
reqired byte

Is This Answer Correct ?    27 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does the order of public and static declaration matter in main method?

1057


What is the default value of local and global variables?

1073


What do you mean by formatting?

975


What is the difference between final, finally and finalize()?

1127


What is reverse function?

1109


Can we restart a dead thread in java?

971


How will you get the platform dependent values like line separator, path separator, etc., ?

1004


What do you know about java?

925


Why volatile is used in java?

1036


What is percentage in java?

988


Discuss 2D arrays.

1034


Is an object null?

958


Name few java util classes introduced with java 8 ?

900


Is array a class in java?

959


How many types of parsers are there?

1008