Why is a class known as composite data type?
139 Likes
When a user creates a class, it becomes a data type for his program. This data type includes different primitive types such as int, float, char, etc. Thus, class is referred to as a user defined data type or Composite Data Type.
Answered By
82 Likes
A statement is given as:
'Study_Table' is an object of the class 'Furniture'. Write down Java statement for the same.
A class is also referred to as 'Object Factory'. Comment.
Class and Objects are inter-related. Explain.
What does the following statement mean?
Employee staff = new Employee ( );