Урок - Типы Данных / Data Types

Главная » Курсы » Курс ACMF » Урок - Типы Данных / Data Types

Обучающий онлайн курс
ACMF

Лицензия: Лицензия Creative Commons.

AnyType - can be any value.

CallbackType - callback function.

CounterType - a positive integer that is greater than or equal to zero.

  • bad: price - it's real not integer.
  • bad: temperature - it's can be negative.
  • be careful: age - can be unknown.
  • correct: amount of elements - always zero or positive value.

TheSameClassType - returns an object of the same class.

ThisType - returns a reference to the current object.