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
Can memory leak in java?
Can we declare the static variables and methods in an abstract class?
What programs use java?
What is purpose of applet programming?
What is protected access modifier?
When should the method invokelater() be used?
Why are the methods of the math class static?
Can we instantiate interface in java?
What is a char in java?
How do you input a string in java?
Is arraylist ordered in java?
What is sortedmap in java?
Will the jvm load the package twice at runtime?
What are features of java?
What is a variable in java?