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 are streams?
Can we override protected method in java?
What is string in java?
Is string is a class in java?
What is arraylist class in java?
What is :: operator in java?
What is the purpose of garbage collection in java, and when is it used?
Which class represents the socket that both the client and server use to communicate with each other?
Why java is call by value?
How to handle a web browser resize operation?
What is the difference between iterator and list iterator?
Give an example of call be reference significance.
Is java a software?
What languages are pass by reference?
Is intellij better than eclipse?