In java, say I have the following class:
public class A{
protected class B{
}
}
can I extend the inner class by doing the following?
public class C extends A{
protected class D extends B{
}
}
What I want to do is that I have the class C above and I need to change something in A's inner class so I was thinking that I need to extend the inner class to do so but I wasn't sure how exactly to do that.