What does it mean when we say class A inherited from class B?

Class A can access all of class B's properties and methodsThey can access each other's properties and methods

Since class A inherits from class B, only A can access B's methods and properties. Inheritance is a one-way street.