Which one to Use Ternary Operator or If-Else Block
In Java (or in C programming also), in case if we have to take decision making with two conditions we can take using Ternary operator or If-Else also. Many times people get confused when to use the both. In this article I would like to capture few po...
heyvp7.hashnode.dev2 min read
Josh Martin
just another java developer having fun
I had no idea this was a thing. I can already think of areas I could apply this to and it's so much quicker than an if else!