hello,
protected fields and methods are accessed through inheritance, they are not meant to be accessed by the DOT operator. try to change the ob.show() to show() only without calling it by the...