Can a concrete class have a child class which is concrete
A class that is not abstract is concrete.Abstract class can have two types of methods abstract and concrete.Concrete class is a class that does not have any unimplemented methods.Therefore abstract classes have to be extended in order to make them useful.An abstract class cannot be declared as final.Abstract class may or may not have abstract methods.
Abstract class can not be declared as a final class.We can create an object of the concrete class.It's called a concrete class because:A class in java that can be created using 'new' keyword is called a concrete class in java.Public class fancycar extends vehicle implements driveable { public string honk.It can't contain any abstract methods.
Once it's been written, it takes effort to change.Is there a way we can access the concrete method's of an abstract class in the direct child class as below abstract class parameterbase { public void test() {.In other words, we can say that any class which is not abstract is a concrete class.But since it is a class, it can also have concrete methods (*).Now i know that we can create a instance of the child class with type as parameterbase and access the test() method that is there in parameterbase() as below.