Could someone please explain what an abstract class is and what it's used for? I'm having trouble grasping the concept. I've also been unable to find anything online that is helpful to me personally. If think something might help, please link!
Hi Pillay, Abstract class are those class which may contain abstarct methods, and abstract methods are those which don't have definition. example-
Since abstract class is partially implemented so it can't be instantiated. In real world it is used for giving default behavior to the implememnting class. Note that it's not necessary for an abstract class to have abstract method.
If you are newbie to java just start with Head first, then go ahead with "thinking in java" by bruce eckel and scjp exam study guide by kathy. For any other help just send me private messages, i'll defietly help you out.