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 there a way to increase the size of an array after its declaration?

605


What is super keyword explain with example?

538


what is enumset?

589


What is numel matlab?

661


Explain list interface?

524






Can you explain the private protected field modifier?

574


Why we override equals() method?

571


How to find the given number is a prime number or not by getting input from the user

557


What is methods in java?

516


What is the differences between heap and stack memory in java? Explain

537


What is singleton math?

580


What are thread groups?

578


How to make a non daemon thread as daemon?

556


What is module in project?

520


What are different types of multitasking?

550