coderz.py

Keep Coding Keep Cheering!

Data type and Modifiers in C++

A data type specifies the type of data a variable can store, for example, integer, floating point, character, etc. C++ supports the following data types: Primary or Built-in or Fundamental data type Derived data types User-defined data types Primary or Built-in or Fundamental data type: These data types are built-in or predefined data types that […]

September 23, 2022 | C++ | No comments

EnumSet in Java

What is EnumSet in Java? The EnumSet is a specialized implementation of the Set interface designed for use with enumeration types. It derives from the AbstractSet class and implements the Set interface. Enum sets are internally represented as bit vectors. This is a very compact and efficient representation. This class’s space and time performance should […]

September 13, 2022 | Java | 1 comment

Enums in Java

What are Enums in Java? In computer languages, enumerations are used to express a collection of named constants. For instance, it can be used for weekdays, colors, and vowels. Enums are employed when all possible values are known at the time of compilation, as in the case of menu options, rounding modes, command-line inputs, etc. […]

July 12, 2022 | Java | No comments

Advertisement