A
Q. What will be the output of following Java code?
Code:
public class Main {
public static void main(String[] args) {
System.out.println(Math.copySign(100.6, -200.6));
}
}
public static void main(String[] args) {
System.out.println(Math.copySign(100.6, -200.6));
}
}
- Correct Answer - Option(B)
- Views: 18
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.