Lesson 14 - Conditional constructs - Part 4 - Ternary operator

Опубликовано: 08 Август 2026
на канале: ICSE board - Learn JAVA from scratch
11
1

In this video we will be looking at a simple conditional construct called the ternary operator which can be used to replace if...else statements which are used to assign values to a variable.
Ternary operators are written as ?:

pptx2powtoon-- Created using Powtoon -- Free sign up at http://www.powtoon.com/youtube/ --