Tag Archives: HackerRank Solutions – 30 Days of Code – Day 4

HackerRank Solutions – 30 Days of Code – Day 4

HackerRank Solutions - 30 Days of Code - Day 4 Objective In this challenge, we're going to learn about the difference between a class and an instance; because this is an Object Orientedconcept, it's only enabled in certain languages. Task Write a Person class with an instance variable, , and a constructor that takes an integer, , as a parameter. The constructor must…