SCJP Certification

Sun Certified Java Programmer Certification exam essentials

November 12th, 2009

What will be the output of the following program?

Java Questions, by Daisy Williams.

class Ques{
public static void main (String[] argv){
int p1 = 0102;
int p2 = -10;
int mod = p1 % p2;
System.out.println(“mod = ” +mod);
}
}

Share

Back Top

Responses to “What will be the output of the following program?”

Comments (0) Trackbacks (0) Leave a comment Trackback url
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Your email address will not be published. Required fields are marked *

*