M
Q. What output you will get if you run this program?
class Modulus { public static void main(String args[]) { int x = 42; double y = 42.25; System.out.println("x mod 10 = " + x % 10); System.out.println("y mod 10 = " + y % 10); } }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Which of the following is a correct interface?
Q. What is the output of the below Java code snippet that use Autoboxing and Unboxing?
Q. Which of the following is an immediate subclass of the Panel class?
Q. What is the output of the below Java program with an empty return statement?
Q. Which of the following is advantage of using PreparedStatement in Java?
Discusssion
Login to discuss.