Page 1 of 1

About Question com.enthuware.ets.scjp.v6.2.169 :

Posted: Sat Oct 25, 2014 9:02 am
by piotrkmiotczyk
This is vaguely related but does numeric promotion from char to int happen when passing a char as an argument to a method which accepts int?

Re: About Question com.enthuware.ets.scjp.v6.2.169 :

Posted: Sat Oct 25, 2014 10:06 am
by admin
Yes. Primitive promotion (i.e. widening) can be done in method calls but not narrowing.