Java — week 2

In this week, I learned about a few concepts related to classes and methods. As I have already coded in C++ and es6 Javascript, class is a…