Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830
this week in the
Programmer Certification
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Programmer Certification (OCPJP)
extends Object
Don Bosco
Ranch Hand
Posts: 108
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
we say that every class in
java
is a subclass of Object.
class
Test
extends Base{
}
In the above example Test extends Base. Test also extends Object. How is it possible?
SCJP 1.4<p>Wingardium Leviosa!!
Barkat Mardhani
Ranch Hand
Posts: 787
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
because Base extends Object class...
Don Bosco
Ranch Hand
Posts: 108
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Good point!! Thanks Dude.
SCJP 1.4<p>Wingardium Leviosa!!
She's brilliant. She can see what can be and is not limited to what is. And she knows this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Regarding Static methods.
Diiference b/w Overridng and redefining of static methods
Implicit Constructor calling
Which overloaded method?
please help
More...