byte a=5;
byte b=5;
byte c=a+b;
System.out.println(c);
whats the o/p?

Answer Posted / g.prabha

compilation error.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of memory areas are allocated by JVM in java?

582


Why static functions are used?

560


Difference between nested and inner classes ?

595


Can inner class be public in java?

538


What is a protected class in java?

526






What is the effect of keeping a constructor private?

469


What does this () mean in java?

535


When object is created and destroyed?

631


Define linked list and its features with signature?

532


What is += mean in java?

534


How to create an interface?

622


Does garbage collection occur in permanent generation space in jvm?

592


What is an example of procedure?

506


Is void a keyword in java?

582


What is the difference between the paint() and repaint() methods?

576