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
How do you delete a list in java?
What is immutable in java?
Is java an open source?
What are the types of web technologies?
How do generics work in java?
What is singleton class and how can we make a class singleton?
Can we clone singleton object?
What do you mean by scope of variable?
explain the concept of virtual method invocation in polymorphism in detail?
Is string pool garbage collected?
Explain the difference between transient and volatile in java?
Is java free for businesses?
What is isa relationship?
What is an i/o filter?
What is ascii code?