click below
click below
Normal Size Small Size show me how
Software Dev Fund 1F
MTA - Software Development Fundamentals 1F
Question | Answer |
---|---|
When a base class has a method and a sub class has a method with the same name this is called _________________ a method | overriding |
A method's name and number and data type of its parameters constitutes its ______________________. | signature |
For a method to be overridden in a sub class from a base class the method name has to be the same as well as the number and type of _____________________. | parameters |
Within a sub class, using the C# language, the ___________ keyword can be used to completely replace a method you want to override from the base class. | new |
In a sub class, using the C# language, the ____________ keyword can be used to extend and give new meaning to a method you want to override from the base class, but it still leaves the base class version of the method available to be used. | override |
A child class can inherit directly from ______ base class. | one |
A base class can be used to make unlimited __________________ with. | sub classes |
A class that is used to inherit from is called a ____________________ class. This is also known as a parent class or a super class. | base |
A class that inherits from another class is called a ______________ class. This is also known as a child class or a sub class. | derived |
When an object of some type is created ANYWHERE in another class so that it can be used in that program its memory is stored in the _________ area of memory because it is an object or reference type. | heap |
When a primitive data type variable is declared globally in a class it is stored in the ______________ area of memory because it is more permanent in the life of the program. | heap |
When a primitive data type variable is declared inside a method (which is local scope) it is stored in the ____________ area of memory because it will only need to be there temporarily. | stack |