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


Please Help Members By Posting Answers For Below Questions

How do you delete a list in java?

711


What is immutable in java?

754


Is java an open source?

709


What are the types of web technologies?

755


How do generics work in java?

678






What is singleton class and how can we make a class singleton?

848


Can we clone singleton object?

762


What do you mean by scope of variable?

649


explain the concept of virtual method invocation in polymorphism in detail?

1917


Is string pool garbage collected?

746


Explain the difference between transient and volatile in java?

754


Is java free for businesses?

759


What is isa relationship?

740


What is an i/o filter?

1149


What is ascii code?

808