menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Would a "tree" and a "branch" be an example of a superclass and a subclass? Why or why not?
asked
Jul 22, 2023
167k
views
1
vote
Would a "tree" and a "branch" be an example of a superclass and a subclass? Why or why not?
Computers and Technology
high-school
Ahmed Ramzy
asked
by
Ahmed Ramzy
7.2k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
No, cause a tree isn't a superclass. It's just a tree and the branch has nothing to do with superclass or subclass
Budi
answered
Jul 28, 2023
by
Budi
8.5k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Mar 26, 2024
154k
views
What must a subclass do to modify a private superclass instance variable? a) The subclass must simply use the name of the superclass instance variable. b) The subclass must declare its own instance variable
Lseeo
asked
Mar 26, 2024
by
Lseeo
8.5k
points
Engineering
college
1
answer
0
votes
154k
views
asked
Sep 27, 2024
85.8k
views
Choose a superclass and a subclass. Create the code for your chosen superclass and subclass. Use a simple constructor and toString() method should to see the relationships formed by extending a class.
Eric Thomas
asked
Sep 27, 2024
by
Eric Thomas
8.7k
points
Computers and Technology
high-school
1
answer
1
vote
85.8k
views
asked
May 8, 2024
180k
views
Four things we can do with an inherited method: When a subclass inherits a method from its superclass, What are the four things we can choose to do in the subclass? 1) Override the method with a new implementation
Retronym
asked
May 8, 2024
by
Retronym
8.3k
points
Computers and Technology
high-school
1
answer
5
votes
180k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.5m
questions
12.2m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Seven basic internal components found in a computer tower
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Disadvantages of using animation in advertising? advantages and disadvantages of using animation for education? advantages and disadvantages of using animation in entertainment?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org