#javaquiz #java #javaprogramming #faq #javainterviewquestions #interviewquestionsforfreshers

preview_player
Показать описание
Comment with your explanation!!!

For correct explanation read the first comment.
Рекомендации по теме
Комментарии
Автор

byte c = a + b;

Here a+b results in integer instead of bytes that's why it results in loss of precision error.

any arithmetic operation on data type less than or equivalent to int results in int only.

JavaInBytes
visit shbcf.ru