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

What is the purpose of a default constructor?

1159


What is a file pointer?

1169


Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.

1112


What is an object class?

1075


Why is string class considered immutable?

1107


What is a ?

1270


What is java algorithm?

988


If system.exit (0); is written at the end of the try block, will the finally block still execute?

1160


Which variables are stored in stack?

950


Does a function need a return?

1010


Do extraneous variables affect validity?

958


What is the driver class?

1093


How many techniques can be employed to create a string object?

1170


How do you convert int to char in java?

1121


Difference between throw and throws?

1160