byte a=5;
byte b=5;
byte c=a+b;
System.out.println(c);
whats the o/p?
Answer Posted / ravikiran
compilation fails
possibl;e loss of precision
because results in an int
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What is indexof in java?
What is exception handling in java?
What methods are used in Servlet?Applet communication?
Difference between class#getinstance() and new operator ?
What is thread synchronization in java?
Explain the inheritance?
What is == in java?
What is treeset in java?
Which object oriented concept is achieved by using overloading and overriding?
Can we force the garbage collection to run?
How are variables stored in memory?
What initialize variables?
What is a conditional statement explain with example?
Why is java not 100% pure oops?
Are arrays dynamic in java?