10 Question In Lecture (2) #Introduction_to_Object_Oriented_Programming

A class is a general :
Abstract representation
Objects
A class can be visualized as a three-boxes :
Name, Variables, Method
Public, Private, Protected
When we use constant ?
When we want the varibale it's read-only
When we want to add it in Main Method
A class and its members can have access modifiers like:
Public, Private, Protected, Internal, protected Internal
Fields, Methods , Properties
" The member can be accessed by code inside the class or outside (Referenced anywhere " Which type of access modifier?
Public
Private
Protected
“The member cannot be accessed by code outside the class. The member can be accessed only by methods that are members of the same class” Which type of access modifier?
Private
Protected
Internal
A class can have one or more fields (True/False)
True
False
You can't create more than one objects of a class (True/False)
True
False
“Access limited to the containing class, derived classes, or to members of this program” Which type of access modifier?
Protected internal
Private
Public
Where we can Creat object?
In Main method
In different class we Creat it
{"name":"10 Question In Lecture (2) #Introduction_to_Object_Oriented_Programming", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"A class is a general :, A class can be visualized as a three-boxes :, When we use constant ?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker