Equality and Relational Operators
Start course
Difficulty
Beginner
Duration
2h 12m
Students
97
Ratings
4/5
starstarstarstarstar-border
Description

In this course, we'll learn about Java data types and operators.

Learning Objectives

  • Variables
  • Data Types
  • Type Conversion & Type Casting
  • Operators
  • Operator Precedence 
  • Expressions, Statements and Block

Intended Audience

  • Anyone looking to get Oracle Java Certification
  • Those who want to learn the Java Programming language from scratch
  • Java developers who want to increase their knowledge
  • Beginners with no previous coding experience in Java programming
  • Those who want to learn tips and tricks in Oracle Certified Associate – Java SE 8 Programmer certification exams

Prerequisites

  • No prior knowledge is required about the Java programming language.
  • Basic computer knowledge
Transcript

Hi there. In this video we'll talk about Equality and Relational Operators. The equality and relational operators determine if one operand is greater than, less than, equal to, or not equal to another operand. Let's look at these operations.

== : This operator checks if the value of two operands are equal or not. If yes, then the condition becomes true.

!= : This operator checks if the values of two operands are equal or not. If values are not equal, then the condition becomes true.

> : This operator checks if the value of the left operand is greater than the value of the right operand. If yes, then the condition becomes true.

< : This operator checks if the value of the left operand is less than the value of the right operand. If yes, then the condition becomes true.

>= : This operator checks if the value of the left operand is greater than or equal to the value of the right operand. If yes, then the condition becomes true.

<= : This operator checks if the value of the left operand is less than or equal to the value of the right operand. If yes, then the condition becomes true.

Let's make some examples with equality and relational operators. In exercise project, right click on the operator package.

 

About the Author
Students
1889
Courses
64
Learning Paths
4

OAK Academy is made up of tech experts who have been in the sector for years and years and are deeply rooted in the tech world. They specialize in critical areas like cybersecurity, coding, IT, game development, app monetization, and mobile development.

Covered Topics