0
What is the differance between super dot and super as a method?
super dot is using to access the pearant class or the super class element in sub class and super as method we give it the parameter of the father class constructor if it has and put it in the first line in the constructor of the sub class ,when we create obiect from sub it must creat an object from pearant at first
1 Resposta
+ 1
super.method(...) is a method of super class. super(...) is a constructor of super class applied to your class.