Java OCA OCP Practice Question 554
Home
Java
Java Basic
OCA OCP Exam 6
Menu
Java
Java Basic
Java Language Basics
Java Language
Data Types
Operator
Statement
String
enum
Array
Autobox
class
Method
interface
Generics
Exception
Javadoc
Lambda
package import
Java Features
Algorithms
Byte Array
Data Structures
Design Patterns
Directory
Network
Regular Expression
Text File
OCA OCP Exam
OCA OCP Exam 1
OCA OCP Exam 2
OCA OCP Exam 3
OCA OCP Exam 4
OCA OCP Exam 5
OCA OCP Exam 6
OCA OCP Exam 7
OCA OCP Exam 8
OCA OCP Exam 9
OCA OCP Exam 10
OCA OCP Exam 11
OCA OCP Exam 12
OCA OCP Exam 13
OCA OCP Exam 14
OCA OCP Exam 15
OCA OCP Exam 16
OCA OCP Exam 17
OCA OCP Exam 18
OCA OCP Exam 19
OCA OCP Exam 20
OCA OCP Exam 21
OCA OCP Exam 22
OCA OCP Exam 23
OCA OCP Exam 24
OCA OCP Exam 25
OCA OCP Exam 26
OCA OCP Exam 27
OCA OCP Exam 28
OCA OCP Exam 29
OCA OCP Exam 30
OCA OCP Exam 31
OCA OCP Exam 32
OCA OCP Exam 33
Question
What is -8 % 5?
A. -3
B. 3
C. -2
D. 2
Click to view the answer
A.
Note
-8 % 5 is the negative of 8 % 5.
Previous
Next
Related
Java OCA OCP Practice Question 551
Java OCA OCP Practice Question 552
Java OCA OCP Practice Question 553
Java OCA OCP Practice Question 555
Java OCA OCP Practice Question 556