answersLogoWhite

0

What does the percent mean in Java?

Updated: 10/23/2022
User Avatar

Wiki User

14y ago

Best Answer

The percent sign in Java is the modulus operator. Modulus is used to find the remainder from a division

For example if you did

int x = 10 % 6;

x would be equal to 4. 10 divided by 6 has a remainder of 4. The modulus operator can be used to determine whether a number is divisible by another among other things.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What does the percent mean in Java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is subroutine in java?

Subroutine mean what (in java)?


Why java is 100 percent programming language?

There are no 'partial' programming languages.


What do you mean by multithread program in java?

A Program in Java that spawns multiple threads is called a multithreaded program in Java.


What does exclamation equals mean in java?

The exclamation equals in Java(x!=) is used to represent the logical NOT.


How do you turn on the Java Strip?

I think you mean Java Script, if so. you can download it or check to see if it is installed at www.java.com .

Related questions

What is subroutine in java?

Subroutine mean what (in java)?


What does Systemout mean in java?

System.out refers to the Java console.


What do you mean by multithread program in java?

A Program in Java that spawns multiple threads is called a multithreaded program in Java.


Why java is 100 percent programming language?

There are no 'partial' programming languages.


What does the word java mean?

Java is an island in Indonesia, but in slang it means coffee.


What does the term Java logging mean?

Java logging is data logging for the Java platform. Logging is a term in software for recording activity. Therefore Java logging is recording activity for Java.


Does java script coding mean using it for Java programs only?

Java script coding is computer coding, many things require Java, and you need to have Java enabled to view these types of programs.


Which one is more advanced core java or java?

The Core Java technologies and application programming interfaces (APIs) are the foundation of the Java Platform, Standard Edition (Java SE). They are used in all classes of Java programming, from desktop applications to Java EE applications. Well What exactly you mean by Java?


What does exclamation equals mean in java?

The exclamation equals in Java(x!=) is used to represent the logical NOT.


What is mean of saurabh?

if you mean Surabaja, it is a sea port in Java


Who make Java Program?

Many people make Java programs, but if you mean who invented the Java programming language it was James Gosling of Sun Microsystems.


What does generic class mean in java?

Generic