byte a=5;
byte b=5;
byte c=a+b;
System.out.println(c);
whats the o/p?
Answer Posted / kalyan
it will shows complie time error,to execute we typecast the
int to byte
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Is finalize() similar to a destructor?
What are use cases?
Can classes declared using the abstract keyword cab be instantiated?
How do you sort data in java?
Explain about the interpreter in java?
How do you use spaces in java?
How does indexof work?
What is boolean in java?
Difference between throw and throws?
Can we extend a class with private constructor?
Why we use multi threading instead of multiprocessing?
How do you clear an arraylist in java?
How do you sort a set in java?
What do you mean by chromounits in java8?
what do you mean by stream pipelining in java 8? Explain