Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way to extend a father class #26

Open
majindong opened this issue Oct 6, 2022 · 0 comments
Open

Way to extend a father class #26

majindong opened this issue Oct 6, 2022 · 0 comments

Comments

@majindong
Copy link

您好!我是一名kotlin compiler的初学者,请问您可以告诉我怎么使用kotlin compiler去继承一个父类吗?比如:
open class A(){}
@随意的注解名
class B(){}
被注解的类可以变成:
class B:A(){}
十分感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant