1 Object Oriented Programming is one of the most popular ways in programming.
2 For example, In Person class we have Date of Birth (dob) properties which should be protected.
3 As mentioned previously there are so many ways to create objects in JavaScript like: //1)Creating Object through literal var obj={}; //2)Creating wi..