Interview Question
0of 0 votesWhat default method a empty class holds??
Empty calss in the sense class does not have any data members and methods..
Country: -
Depends on the language, a default class inherits all its super class methods and constructors/destructors. In java it is from java.lang.object

1. Constructor
- Aashish on August 05, 2012 Edit | Flag Reply2. Destructor
3. Copy constructor
4. Assignment operator function