(byte) type cast in constructor calls

This commit is contained in:
Egor.Ushakov
2017-04-27 15:21:44 +03:00
parent 997a7747d6
commit 4de826363f
4 changed files with 16 additions and 1 deletions

View File

@@ -68,4 +68,8 @@ public class TestPrimitives {
printByte((byte)getInt());
printShort((short)getInt());
}
public void constructor() {
new Byte((byte)1);
}
}