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
explain different ways of using thread? : Java thread
What is the public field modifier?
What does java final mean?
What are void pointers?
how are methods defined?
What is string example?
What are the differences between processes and threads?
What is contract between hashcode and equal method?
Is vector ordered in java?
How would you dynamically allocate memory to an array?
Why pointers are not used in java?
What is functional interface in java?
What is main string [] args?
Can we extend private class in java?
What are the string methods in java?