That makes more sense.
So say I have two classes, ClassA and ClassB where ClassA does not specify a superclass but ClassB extends ClassA.
public class ClassA { ... }
public class ClassB extends ClassA { ... }
Suppose I have a method that accepts an Object reference as a parameter,
public void doThis(Object obj) { ... }
If i send it an instantiated object of type Class B it will accept it because it inherits from ClassA which did not specify a superclass and therefore inherits from the Object class?
Also are the only type of methods that can be called on obj inside the method doThis() the ones inherited from the Object class?
Thank you very much for the welcome to the Ranch!