Donate SIGN UP

Oo Programming (Java) - Inheritance

Avatar Image
Tweed | 20:16 Thu 07th Mar 2013 | Computers
5 Answers
Can you inherit from any class or must it be an abstract class?
Gravatar

Answers

1 to 5 of 5rss feed

Avatar Image
You can inherit from any class in java as long as it is not declared "final" As I suggested before there's a helpful java tutorial on the Oracle website: here;s a relevant page for this question http://docs.oracle.com/javase/tutorial/java/IandI/final.html
20:46 Thu 07th Mar 2013
I am sure there must be forum somewhere for asking Java programming questions.

Like here

http://www.javaprogrammingforums.com/
You can inherit from any class in java as long as it is not declared "final"

As I suggested before there's a helpful java tutorial on the Oracle website:
here;s a relevant page for this question
http://docs.oracle.com/javase/tutorial/java/IandI/final.html
Question Author
Thanks folks. Yes, there's Java forums & websites but I'm just brushing up on a few points and would rather not search through pages of info to find an answer to a specific question. That's what answerbank is for and what it is good at. Links are useful though.
No problem Tweed. Ask away. There will be a few other people on here I'm sure who can answer your questions better than I can. Just wanted to be sure you were aware of all the other advice available
Question Author
Thanks ichkeria. Your answer is just what I'm looking for. It's all in my head anyway. It's just a matter of retrieving it as it's been a while since I've used it. See, answerbank came through.
: )

1 to 5 of 5rss feed

Do you know the answer?

Oo Programming (Java) - Inheritance

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.