Quizzes & Puzzles4 mins ago
Oo Programming (Java) - Abstract Class
4 Answers
Posted in Science first but probably better here.
An abstract class cannot be instantiated. So, is the sole purpose of an abstract class to be a base class for an inherited class?
An abstract class cannot be instantiated. So, is the sole purpose of an abstract class to be a base class for an inherited class?
Answers
Best Answer
No best answer has yet been selected by Tweed. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.It doesn't have to be a base class of course. An abstract class can extend another abstract class (just to be confusing!)
Bruce Eckel's book is quite good but a lot of his examples, certainly when I read it, seem to me to be showing off and he had a habit of using meaningless names for his variables
The Oracle web site these days has some useful stuff on it.
Bruce Eckel's book is quite good but a lot of his examples, certainly when I read it, seem to me to be showing off and he had a habit of using meaningless names for his variables
The Oracle web site these days has some useful stuff on it.