Can you call the base class method without creating an instance?

Yes, you can call the base class without instantiating it if:

  • It is a static method
  • The base class is inherited by some other subclass

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *