Technical Interview Questions and Answers :: Accenture
- Select All
- C
- Java
- C++
- .NET
- SQL
- Informatica
- WebMethod
- Soft. Engineering
- Data Structure
- HR Question in TR
- Operating System
- DBMS
51 / 152
Classes are user defined data types and behave like the built-in type of a programming language. The wrapping up of data and functions into a single unit called class.
Objects are the basic run-time entities in an object-oriented system. When a program is executed, the objects interact by sending messages to one another.
52 / 152
Now Class B
53 / 152
There are 5 forms available, namely
• Single inheritance: A derived class with only one base class
• Multiple inheritance: A derived class with only several base class
• Hierarchical inheritance: The traits one class may be inherited by more than one class
• Multilevel inheritance:
• Hybrid inheritance: it is a combination of multiple and hierarchical inheritance.
54 / 152
No Discussion on this question yet!
55 / 152
No Discussion on this question yet!
56 / 152
No Discussion on this question yet!
57 / 152
No Discussion on this question yet!
58 / 152
No Discussion on this question yet!
59 / 152
No Discussion on this question yet!
60 / 152
No Discussion on this question yet!