Class is a user defined data type
Description
Read MoreVocal Characteristics
Language
EnglishVoice Age
Young Adult (18-35)Accents
Indian (General) Indian (Hinglish)Transcript
Note: Transcripts are generated using speech recognition software and may contain errors.
class is a user defined data type. Primitive data types are not sufficient. In the real world, we have much more complicated objects. Object oriented programming allows us to model real world objects. User defined classes combined the data and methods as integrated components stirs. We can say that's our language. He uses some pre defined data types. Example. In float car. These data types provide some preliminary facilities in Java programming when they're used to declare any variable, then the variable would process. It's built in characteristics. Hence, these types are called built in data tights. Similarly, a user may create a director type and declare certain characteristics and behaviour within it. This can be done by using a class. This is the reason by a class is referred to as user defined data type.