OPPE1 Practice Session

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

There is a slight mistake in the video at 1:23:10; it said "Constructor overriding, " which is not correct. In Java, constructor overriding is not possible, but constructor overloading is. Constructors are not inherited like regular methods, so they cannot be overridden. However, you can overload constructors by providing multiple constructors with different parameter lists within the same class, which we have done in each of the car class and Honda class.

SubrataDas-il