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

Is it possible to use string in the switch case?

1043


Why can't you declare a class as protected?

1134


What is method overloading in JAVA? Why is it not present in C ?

1103


Explain the hierarchy of java exception classes?

1109


What is the best definition for data?

971


When can an object reference be cast to an interface reference in java programming?

1027


Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?

1037


How will you add panel to a frame?

1111


What is variable declaration and definition?

1004


What is the difference between reader/writer and inputstream/output stream?

1085


Does java support Operator Overloading?

1046


What is an exception? difference between Checked and Unchecked exception in Java

1014


How do listeners work?

1051


What are pass by reference and pass by value?

988


What is the role of the java.rmi.naming class?

1073