Main reason for encapsulation
S______
The keyword used in programming to add abstraction
what is Abstract?
Keyword used for inheritance in coding C#
Meaning of the term "Polymorphism"
what is having multiple shapes?
The blueprint of an object
What is class?
Determines the accessibility of classes, methods, and other members within a program.
The keyword used for PERMISSION to override a method
what is Virtual?
Phrase to show the hierarchy of characteristic
What is "is a"?
Using class types, the higher the level the ___________
What is less specific?
The pillar of OOP to use for data encryption
What is encapsulation?
Give 3 possible keywords for encapsulation when writing code in C#
What is private, protected, public, internal, protected internal, or private protected
The keyword used to change the output of an existing method in C#
What is Override?
Phrase to show the that a class contains or uses another class
what is "has a"?
Allows programmers to avoid conditional statements
What is Polymorphism?
The only class that cannot be instantiated
What is abstract class?
Members with this access modifier are accessible from any other code in the same assembly or in another assembly that references it
What is public?
One of the important of abstraction
M______
What is modularity?
Methods that create objects from a class which has the same name as the class
What is constructor?
The bugged code in this source:
Animal Fox = new Fox(string color);
Fox.Run();
Console.Write("Fox' color is " + Fox.color);
What is string color?
What is inheritance?
Members with this access modifier are accessible only from within the same class or struct. They cannot be accessed from outside the containing class
What is private?
One of the importance of abstraction
I________ H__________
What is information hiding?
Base class (superclass), child class (subclass), colon
The bugged code in this source:
Animal Pig= new Pig("Oinky");
Pig.Sleep();
Console.WriteLine("Pig's name is " + Pig.name);
What is No Error?
The line number of Polymorphism:
1 public Animal(string name, int age):base(name){
2 this.name=name;
3 public override void Walk(){} }
4 public static void main(String [] args){
5 Animal Oinky = new Pig();
6 private void Polymorph();
7 }
What is 5?