|
A user-defined type is a named data type created by the user. It can be a
distinct type sharing a common representation with some built-in data
type.................
The class is an extension of a structure. Structure members have public access
by default
Class member variables are private by default.............
Also read
What is the relation between Classes and Objects? Explain different properties
of Object Oriented Systems. What is difference between Association, Aggregation
and Inheritance relationships? Explain the features of an abstract class in
NET. Difference between abstract classes and interfaces Similarities and
difference between Class and structure in .NET Features of Static/Shared
classes. What is Operator Overloading in .NET?.............
Explain
an object, class and Method.
An object is an entity that keeps together state and behaviors.
For instance, a car encapsulates state such as red color, 900 cc etc and
behaviors as 'Start', 'Stop' etc., so does an object...............
When a derived class is inherited from an Abstract class, no other class can be
extended then. Interface can be used in any scenario..............
Both Class and Structures can have methods, variables and
objects..............
|