Email:
Password:
Remember Me
Forgot your password?
Log in
New to Satt Academy?
Create an account
or
Log in with Google Account
Home
Ask Question?
Business Account
Exam
Exam List
Exam Result
Category
1-12 Class
Board Exam
Admission
Job Solution
Skill Development
Book Collection
Video Content
Blog Content
Question
Ask Question?
Current Affairs
All MCQ Question
All Written Question
Upload Question
General
Study Plan
Hand Note
Notice | News
Other
FAQ
Point
Package
Feedback
Home
Academy
Admission
Job Assistant
Current Affairs
Skill
Forum
Blog
Package
Course
Sign In
Unauthenticate
Guest
example@gmail.com
Login
Description
Home
Edit Description
Back
Edit Description
Fill up the form and submit
Question
In Object Oriented Programming a property can be accessed from ________.
anywhere of the object
only from its own class
parent class
child class
ANSWER : 2
Descrption
<p dir = "ltr" style = "line - height: 1.38; margin - top: 12pt; margin - bottom: 12pt;"><span style = "font - size: 12pt; font - family: Arial; color: #202124; background - color: #ffffff; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre - wrap;">মনে রাখতে হবে, Object Oriented Programming - এ class এর তিন ধরনের Access Specifier আছে। যথাঃ</span></p> <ul style = "margin - top: 0; margin - bottom: 0; padding - inline - start: 48px;"> <li dir = "ltr" style = "list - style - type: disc; font - size: 12pt; font - family: Verdana; color: #202124; background - color: transparent; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre;" aria - level = "1"> <p dir = "ltr" style = "line - height: 1.38; background - color: #ffffff; margin - top: 11pt; margin - bottom: 0pt;" role = "presentation"><span style = "font - size: 12pt; font - family: Arial; color: #dc143c; background - color: #ffffff; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre - wrap;">public</span><span style = "font - size: 12pt; font - family: Arial; color: #202124; background - color: #ffffff; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre - wrap;"> - members are accessible from outside the class</span></p> </li> <li dir = "ltr" style = "list - style - type: disc; font - size: 12pt; font - family: Verdana; color: #202124; background - color: transparent; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre;" aria - level = "1"> <p dir = "ltr" style = "line - height: 1.38; background - color: #ffffff; margin - top: 0pt; margin - bottom: 0pt;" role = "presentation"><span style = "font - size: 12pt; font - family: Arial; color: #dc143c; background - color: #ffffff; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre - wrap;">private</span><span style = "font - size: 12pt; font - family: Arial; color: #202124; background - color: #ffffff; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre - wrap;"> - members cannot be accessed (or viewed) from outside the class, only within the class.</span></p> </li> <li dir = "ltr" style = "list - style - type: disc; font - size: 12pt; font - family: Verdana; color: #202124; background - color: transparent; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre;" aria - level = "1"> <p dir = "ltr" style = "line - height: 1.38; background - color: #ffffff; margin - top: 0pt; margin - bottom: 11pt;" role = "presentation"><span style = "font - size: 12pt; font - family: Arial; color: #dc143c; background - color: #ffffff; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre - wrap;">protected</span><span style = "font - size: 12pt; font - family: Arial; color: #202124; background - color: #ffffff; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre - wrap;"> - members cannot be accessed from outside the class, however, they can be accessed in inherited classes.</span></p> </li> </ul> <p dir = "ltr" style = "line - height: 1.38; margin - top: 12pt; margin - bottom: 12pt;"><span style = "font - size: 12pt; font - family: Arial; color: #202124; background - color: #ffffff; font - weight: bold; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre - wrap;">Inheritance: </span><span style = "font - size: 12pt; font - family: Arial; color: #202124; background - color: #ffffff; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre - wrap;">When one object acquires all the properties and behaviours of a parent object or parent class, it is known as inheritance.</span></p> <p><span id = "docs - internal - guid - c4b4b915 - 7fff - 119b - 865b - d3af37090233"></span></p> <p dir = "ltr" style = "line - height: 1.38; margin - top: 12pt; margin - bottom: 12pt;"><span style = "font - size: 12pt; font - family: Arial; color: #202124; background - color: #ffffff; font - weight: 400; font - style: normal; font - variant: normal; text - decoration: none; vertical - align: baseline; white - space: pre - wrap;">সুতরাং, উত্তরঃ Private Class এর member গুলো শুধুমাত্র Class ভিতরে থেকে Access করা যাবে। বাইরে থেকে নয়। </span></p>
Please, login first.
click here to login
Cancel
Login
©2024 SATT ACADEMY. All rights reserved.
Promotion