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
Joined: Oct 13, 2005
Abhijeet Sutar wrote: . . . Whenever you want to ask new question, start in new topic. . . .
Agree. We have a relatively new feature, which allows me to make the new posts into a new topic.