Create your account

Already have an account? Login here

Note: By joining, you will receive periodic emails from Coursetro. You can unsubscribe from these emails.

Create account

19. Increment Decrement And Logical Operators Explained

Getting Started with Java

Woah, wait a second..

This is a 100% free course, but we need you to first join or login to watch this video.

Alright, join or login here.

This video introduces you to logical operators in Java along with the increment and decrement operators. The increment operator has two forms: pre-increment where the value is first increased by 1 and then assigned to another variable whereas post-increment first assigns the value to another variable and then increases the value by 1. The logical NOT operator changes true to false and false to true. The logical AND operator returns true when the values of both the operands working with it are true whereas the logical OR operator returns false when the values of both the operands working with it are false.

Course Cirriculum