Java: Functions, Loops, Variables, and a sock merchant
Introduction to the series, Structure of a Java program and stuff
First, I talk about basics, such as in the previous article. In this one, I am going to pick up a problem from HackerRank’s interview prep kit and solve it, explaining Functions, For loops and working with variables.
Over the next few articles, I will focus on all basics such as OOPs, Methods, Constructors, the ten I/O types in Java.
I will dedicate a few articles solely to advanced OOPs.