Adding bytes and getting int
posted 5 years ago
Abhijeet Sutar wrote:@Somprakash Rai "I think I have started Java Basic topic and all these question comes under this topic so I have posted . "
Next time, Whenever you want to ask new question, start in new topic.
Second,answer to above question,Whenever the byte ,short and char type variables used in the expression like above one ,addition , those variables are promoted to int type