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
How to check if linked list contains loop in java?
Why main method is static in java?
What happens when a thrown exception is not handled?
How many threads does a core java have?
What are the loops in java?
How does java pattern compile work?
What is an argument in java?
How can an exception be thrown manually by a programmer?
What is data type in java?
How do you do exponents in java?
Explain restrictions on using enum?
What are the two ways in which thread can be created?
What are desktop procedures?
Explain notifyall() method of object class ?
What is the purpose of the main method?