We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Accessing Inherited Functions
Accessing Inherited Functions
Sort by
recency
|
263 Discussions
|
Please Login in order to post a comment
What an annoying task. The requirements are so not clear. Just copy the solution posted by @mft1998 and go on with your life.
What a useless website. Nobody is going to use this crap when there is leetcode where people are actually able to form proper sentences when asking a question.
I understand how to access the functions. Its not clear what is being asked.
This doesn't even make sense the "a" variable inside the "func()" of the A,B,C classes doesn't do anything since they have local scope. What's even the point of passing a variable into it?