What is short hand if else?

Else (Ternary Operator) There is also a short-hand if else, which is known as the ternary operator because it consists of three operands. It can be used to replace multiple lines of code with a single line .

Sizin İçin Seçtik  What is inside default constructor in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *

What is short hand if else?

Else (Ternary Operator) There is also a short-hand if else, which is known as the ternary operator because it consists of three operands. It can be used to replace multiple lines of code with a single line .

Sizin İçin Seçtik  Reklamcılık mesleği ne yapar?

Leave a Reply

Your email address will not be published. Required fields are marked *