logical operators
Download
Skip this Video
Download Presentation
Logical Operators

Loading in 2 Seconds...

play fullscreen
1 / 8

Logical Operators - PowerPoint PPT Presentation


  • 132 Views
  • Uploaded on

Logical Operators . Jumps Logical Operators The different logical operators found in Java Rational Operators The different rational operators found in Java. Jumps . A jump is also known as a branch A jump is when you program skips certain steps to move on to another block of code

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Logical Operators ' - elinor


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
logical operators

Logical Operators

Jumps

Logical Operators

The different logical operators found in Java

Rational Operators

The different rational operators found in Java

jumps
Jumps
  • A jump is also known as a branch
  • A jump is when you program skips certain steps to move on to another block of code
  • There are two types of jumps
  • Unconditional Jump = no condition is set
  • Conditional jump = a condition has to be satisfied in order for the jump to compare
logical operators1
Logical Operators
  • Logical operators are functions used in Java
  • They are used to set certain conditions
  • These conditions are used when we have conditional jumps in our programs
different logical operators
Different Logical Operators
  • There are many different operators, some of these include the following
rational operators
Rational Operators
  • Rational operators in java are used when we wish to make a comparison
  • Rational operators just like logical operators are used for conditional jumps in our java program s
is the answer to these conditions true of false
Is the answer to these conditions true of false?
  • 9 + 4 == 13
  • 5*5 > 10
  • 10 – 4 < 5
  • 15 >= (10+5)
  • 21 / 7 <= 4
  • 12*2 != 24
is the answer to these conditions true of false1
Is the answer to these conditions true of false?
  • 9 + 4 == 13  False
  • 5*5 > 10  True
  • 10 – 4 < 5  True
  • 15 >= (10+9)  False
  • 21 / 7 <= 4  True
  • 12*2 != 24  False
ad