What is the % operator?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why are the objects immutable in java?

542


What are parameters in a method?

581


What is the difference between pass by reference and pass by pointer?

489


What do negative exponents mean?

540


Write a program to reverse array in place?

578






How does enum work in java?

538


Which method returns the length of a string?

562


What is arrays sort in java?

566


What are the 5 types of research methods?

582


How can I right-justify a string?

619


What is the arraylist in java?

522


Is null a value?

554


What is difference between path and classpath variables?

557


Give an example of call be reference significance.

602


How to provide security in java

1798