Explore tweets tagged as #implicitcasting
@ShivamS24239713
Shivam Singh
6 months
public class ImplicitCasting {. public static void main(String[] args) {. int num = 100; // Integer (4 bytes). double result = num; // Double (8 bytes). System.out.println("Integer value: " + num);. System.out.println("Double value: " + result); }}.
1
0
0