S
Subho
Hi,
1. Class Example {
2. public static void main(String args[]) {
3. Short s = 15;
4. Boolean b;
5. b = (s instanceof Short);
6. b = (s instanceof Number);
7. }
8. }
In the above given line of code can anybody tell where(line
number) autoboxing is happening and how???
Thanks in advance,
Subho
1. Class Example {
2. public static void main(String args[]) {
3. Short s = 15;
4. Boolean b;
5. b = (s instanceof Short);
6. b = (s instanceof Number);
7. }
8. }
In the above given line of code can anybody tell where(line
number) autoboxing is happening and how???
Thanks in advance,
Subho