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
What is the maximum size of array in java?
What is array list in java?
Is empty set an element of empty set?
How do weakhashmap works?
What is class array in java?
Why does java not support operator overloading?
Can we sort hashset in java?
Can we override data members in java?
How many ways can we create singleton class?
What are the string methods in java?
explain autoboxing in java?
How do you achieve singleton?
What does java stand for?
What is the base class of all classes?
What is difference between throw and throws ?