Calling base class methods
Ive worked more on C++ rather than JAVA but I keep visiting
it now and then to see how certain features in C++ map to
A question that I wanted to ask was this:
Is it possible, in JAVA, to call super class methods in a derived class when
the derived class is several steps down in the hierarchy?
In other words say class 1 is the base class. Class 2 is derived from class
1. Class 3 is derived from class 2. Can class 3 somehow call class 1's methods?
In C++ you'd do this by explicitly qualifying the method by prefixing it
with the name of the base class i.e class 1 like
Can this be accomplished in JAVA?
From the top of my head, my guess is NO!
Tell me if Im wrong?
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL