Home » Author Archives: Stephen Ferjanec

Author Archives: Stephen Ferjanec

Stephen graduated from the University at Buffalo, with Bachelor's degrees in Finance and Information Systems. He has worked in the finance industry for over 20 years, developing software applications for accounting, budgeting and forecasting solutions. His most recent projects are developing web and mobile applications in the retail sector, where he is mainly involved with reporting projects using Spring technologies and Angular.

Java Ternary Operator Example

1. Introduction The word “ternary“, in mathematical terms, is an operation that takes 3 variables and, when combined, produces a single output. In Java, as in other languages such as JavaScript or Python, the ternary, or conditional operator, is the only operator that takes 3 operands and produces a value. In this example we will examine the syntax and the ...

Read More »