In Object Oriented Programming a property can be accessed from ________.
In Object Oriented Programming a property can be accessed from ________. Correct Answer only from its own class
মনে রাখতে হবে, Object Oriented Programming - এ class এর তিন ধরনের Access Specifier আছে। যথাঃ public - members are accessible from outside the class private - members cannot be accessed (or viewed) from outside the class, only within the class. protected - members cannot be accessed from outside the class, however, they can be accessed in inherited classes. Inheritance: When one object acquires all the properties and behaviours of a parent object or parent class, it is known as inheritance. সুতরাং, উত্তরঃ Private Class এর member গুলো শুধুমাত্র Class ভিতরে থেকে Access করা যাবে। বাইরে থেকে নয়।
মোঃ আরিফুল ইসলাম
Feb 20, 2025