Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Object Oriented Programming Implementation 1. How are properties different from methods? 2. When you retrieve an integer from a collection and modify the integer, what

Object Oriented Programming Implementation 1. How are properties different from methods? 2. When you retrieve an integer from a collection and modify the integer, what happens to the corresponding integer stored in the collection? How is this different from retrieving and modifying an object? 3. What happens to an object created inside a procedure when the procedure finishes? 4. When a property procedure or method in a base class is not appropriate for a derived class, what can you do? 5. Suppose class B is derived from class A. Class As UpdateData method has been over- ridden in class B. How can the UpdateData method in class B call the UpdateData method in class A? 6. Why are member variables usually declared Private in classes? 7. At the end of the following example, how many Student objects exist? Dim st1 As New Student Dim st2 As Student st2 = st1 8. At the end of the following example, how many Student objects exist? Dim st1 As New Student Dim st2 As Student st2 = st1 st1 = Nothing 9. Suppose that an application at an animal hospital uses two classes: Mammaland Dog. Which do you think is the base class and which is the derived class? Why? 10. Why does it make sense that you cannot use the Overridable keyword in a private base class member declaration?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Making Databases Work The Pragmatic Wisdom Of Michael Stonebraker

Authors: Michael L. Brodie

1st Edition

1947487167, 978-1947487161

More Books

Students also viewed these Databases questions