Hi all I'm having a bit of trouble wrapping my head around exactly what hiding a class method does, can somebody try giving it to me in plain English? I'm going by the Sun Java Tutorial but I find the example a bit vague when it comes to the hiding. I have no problem with overriding methods that seems simple enough I just can't wrap my head around why you would want to hide a class method in a subclass instead of creating a new method specific to the subclass.
comSysStudent 1 Light Poster
java_programmer 0 Junior Poster
comSysStudent 1 Light Poster
java_programmer 0 Junior Poster
comSysStudent 1 Light Poster
masijade 1,351 Industrious Poster Team Colleague Featured Poster
yasuodancez -3 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.