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


Please Help Members By Posting Answers For Below Questions

Can list be final in java?

671


What are the three best choices for a development environment?

833


What does nextint () do in java?

732


Can private class be extended java?

744


How to use arraylist in java netbeans?

704






What is r * in math?

713


Why are the methods of the math class static?

776


Is java a prime method?

718


What are the disadvantages of object oriented programming?

829


What are the advantages of autoboxing?

724


How do I enable java in safari?

743


What is regex used for?

725


What is the primitive type short?

778


Are global variables initialized to zero?

682


What are the types of methodology?

737