Learn Java Programming - Constructors Part 4 Tutorial

preview_player
Показать описание
This tutorial will discuss the default constructor. When we don't declare a constructor in our source code file, the compiler will put in a default no-argument constructor for us. It is important to understand that when we declare our own constructor, the default no-argument constructor is no longer created. If we were to code a constructor in a class that is already in use in other source code files, then we will 'break' the code everywhere the object is initialized.
Рекомендации по теме
Комментарии
Автор

10:20 finally I know how these functions know what object to choose, feeling enlightened (even if still I screw up definitions)

piotropoka
visit shbcf.ru