class extends to three leveles atleast code example
Example: java how to extend a class
class A{
//some code
}
class B extends A{ //keyword used is extends
//some code
}
class A{
//some code
}
class B extends A{ //keyword used is extends
//some code
}