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 type parameter in java?

906


Why generics are used in java?

962


What does flag mean in java?

960


What is meant by inheritance and what are its advantages?

1039


Is object a data type?

911


What does jre stand for?

995


When is the finally clause of a try-catch-finally statement executed?

966


What is regex used for?

937


What does a void function return?

947


Can we use switch statement with strings?

986


What is boolean law?

988


Can a static class implement an interface?

1049


What is a boolean expression in java?

977


What is functional interface in java example?

934


What are the advantages of exception handling?

1008