Earn $100 Online Daily. Work From Home. Click Here

What is the correct answer?


If m and n are int type variables, what will be the result of the expression
'm % n' when m = -14 and n = -3?

A. 4

B. 2

C. -2

D. -4

Related Questions

What does the following line of code do?TextField text=new TextField(10); Consider the following class definition.Class Student extends String{}What… Every call to wait has a corresponding call to notify that will eventually… A class may be both abstract and final. An individual array element that is passed to a method and modified in… Any class may be inherited by another class in the same package. Members of a class specified as private are accessible only to the methods… In evaluating a logical expression of type 'Boolean expression 1&& Boolean… Given the codeString s = new String("abc");Which of the following calls… A Java monitor must either extend thread class or implement Runnable interface. Which of the following represent legal flow control statements? JSP files creates ________________ The check box group class is a subclass of the component class. Java always provides a default constructor to a class. We would like to make a member of a class visible in all subclasses regardless… Every method of a final in class is implicitly final. Which of the following methods can be used to remove a component from… The methods wait() and noify() are defined in A package is a collection of A method declared as static can not access non-static class members. All the bitwise operators have the same level of precedence in Java. If m and n are int type variables, what will be the result of the expression'm… The name of the RMI compiler is ___________ class.forName(...) creates an instance of java ODBC driver Which of the following string can be used as mode string for creating… Which of the following are not keywords? When X is a positive number the operations x>> 2 and x>>>2… Two methods cannot have the same name in Java. Servlet has ___________ Which of the following will produce a value of 22 if x=22.9: