What is the % operator?

Answers were Sorted based on User's Feedback



What is the % operator?..

Answer / ravikiran(aptech mumbai)

% is the modulus operator which will results in giving the
remainder of two numbers who stays as operands

Is This Answer Correct ?    5 Yes 0 No

What is the % operator?..

Answer / mohammed salim

% is a modulus operator..And it returns the remainder of
the division operation.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Core Java Interview Questions

what is the use of declaring constructor as private?

5 Answers   Cyient, IVY Technologies, Sai Softech, Virtusa,


What do you mean by formatting?

0 Answers  


What is command line argument in java?

0 Answers  


Which method must be implemented by all threads?

0 Answers  


How does abstract modifier work?

1 Answers   Wipro,






What is OOPS Concept?

1 Answers   Cap Gemini,


why there are multiple catches for a try block.don't tell me that there can be multiple exception of a code segment that's why.tell me the real fact behind this.

4 Answers  


What is void class in java?

0 Answers  


public class BatchTest { public static void main(String[] args) { Runtime run = Runtime.getRuntime(); try { Process p = run.exec("cmd start /c D:/test.bat"); System.out.println(p.exitValue()); } catch (Exception e) { e.printStackTrace(); } System.out.println("FINISHED"); } }

0 Answers  


What is parsing in java?

0 Answers  


How do you define a parameter?

0 Answers  


Explain the differences between abstraction and encapsulation?

0 Answers  


Categories