- Show The Output Of The Following Code Public Class Test Public Static Void Main String Args Double X 3 5 1 (20.42 KiB) Viewed 91 times
Show the output of the following code? public class Test { public static void main(String[] args) { Double x = 3.5; } }
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Show the output of the following code? public class Test { public static void main(String[] args) { Double x = 3.5; } }
Show the output of the following code? public class Test { public static void main(String[] args) { Double x = 3.5; } } System.out.println(x.intValue()); System.out.println(x.compareTo (4.5));