0
class ClassA
{
class NestedA{};
}

class class B extends ClassA.NestedA
{
B(ClassA instanceA)      // non-default constructor
{
instanceA.super();       //1
};
}

I read this code in a book but couldn't understand meaning of line marked 1. I haven't ever come across this type of call to constructor of super type.

user2653926
  • 610
  • 7
  • 23

0 Answers0