Functions

Loops

IntelliJ and Debugging

Welcome to the Nanodegree program

Welcome to the Nanodegree program

Help

Career Service

Java Refresher Course

Introduction to the Spring Boot framework

Learn the fundamentals of Java while being introduced to a Spring Boot framework and associated integrations and plugins.

Spring Boot template engine

Spring Boot – continued

Create a Chat Room Application with Spring Boot

Overview

Explore the differences between web services, APIs and microservices. Develop REST and GraphQL APIs, and learn how to secure, consume, document and test those APIs and web services.

REST APIs

GraphQL APIs

Microservices

Security

Consuming SOAP & REST

Documentation

Unit & Integration Tests

Project Build the Backend System for a Car Website

RDBMS & JDBC

Build applications that read and write to relational databases using both the Java Persistence API (JPA) and SQL. Use standard design patterns to make your persistence layer easy to test and integrate with a Spring Boot application.

Java Persistence API

NoSQL and MongoDB

MongoDB for Java

Midterm Customer Reviews API

Final – Customer Reviews API

Authentication and Authorization

Learn about Git, version control and best practices for authorization and authentication. Use Jenkins to build a CI/CD pipeline to deploy code to production.

Testing

Logging

Splunk

CICD

Project

18. Order of Operations for Logical Operators

Order of Operations for Logical Operators

Order of Operations (for Logical Operators)

Just like how math operators (*, /, +, -) have an order that they are evaluated in, ie. multiplication is evaluated before addition, so do logical operators!

The ! operator will be evaluated first, then &&, and finally ||. If you have a bunch of the same operations in an expression, like multiple || combinations, then you just operate from left to right.

To change the order of operations you can surround expressions in parentheses because parentheses will be evaluated before anything else.

So, the order of operations is:

  1. Parentheses
  2. NOT !
  3. AND &&
  4. OR ||

For the expression:

!true || false && true

This will have the NOT ! operator evaluated first, so this simplifies to:

false || false && true

Then the AND && operator will be evaluated. The combination false && true equals false, and the whole expression becomes:

false || false

Finally the OR || operator will be evaluated, and the whole expression evaluates to false.