- Category:
- CSharp
- Tags:
-
- File Size:
- 2kb
- Update:
- 2017-11-29
- Downloads:
- 0 Times
- Uploaded by:
- 谢小花
Description: Create a class A, write a MyMethod that can be rewritten with int type parameter in A, and output the passed integer value plus 10 results in this method. Then create a class B to inherit from the class A, and then rewrite the MyMethod method in A, add 50 the integer value received in the A, and output the result. In the Main method, the objects of the class A and the class B are created respectively, and the MyMethod method is called respectively
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
public class A.doc | 20480 | 2017-11-29 |