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

How do you reverse a string in java?

587


What does super keyword do?

562


Can we declare a class as static?

598


What is substring 1 in java?

591


What is the function of compareto in java?

595






Is java a prime method?

555


In java, how many ways you can take input from the console?

524


what is anonymous class in java?

552


What is the super void?

463


What is an array in java?

643


What is abstract class? Explain

599


What are the pillars of java?

491


Why for each loop is used?

508


What do you mean by stream pipelining in java 8?

742


What do you know about the garbage collector in java?

575