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 type parameter in java?
Why generics are used in java?
What does flag mean in java?
What is meant by inheritance and what are its advantages?
Is object a data type?
What does jre stand for?
When is the finally clause of a try-catch-finally statement executed?
What is regex used for?
What does a void function return?
Can we use switch statement with strings?
What is boolean law?
Can a static class implement an interface?
What is a boolean expression in java?
What is functional interface in java example?
What are the advantages of exception handling?