Introduction to a Union

Get introduced to a union and its basic syntax with the help of an interactive example.

All secondary types are built out of primary data types. Of these, this chapter discusses the data type called Union.

Get hands-on with 1200+ tech skills courses.