가장 많이 묻는 면접 질문과 답변 & 온라인 테스트
면접 준비, 온라인 테스트, 튜토리얼, 라이브 연습을 위한 학습 플랫폼

집중 학습 경로, 모의고사, 면접 준비 콘텐츠로 실력을 키우세요.

WithoutBook은 주제별 면접 질문, 온라인 연습 테스트, 튜토리얼, 비교 가이드를 하나의 반응형 학습 공간으로 제공합니다.

Prepare Interview

OOPs 면접 질문과 답변

Ques 16. Explain the concept of multiple inheritance.

Multiple inheritance allows a class to inherit properties and behaviors from more than one superclass. Some languages support it directly, while others provide alternatives like interfaces.

도움이 되었나요? Add Comment View Comments
 

Ques 17. What is a friend class in C++?

In C++, a friend class is a class that is not a part of the class hierarchy but is granted access to the private and protected members of another class.

도움이 되었나요? Add Comment View Comments
 

Ques 18. What is the SOLID principle in OOP?

SOLID is an acronym for five design principles in OOP: Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion. These principles aim to make software designs more understandable, flexible, and maintainable.

도움이 되었나요? Add Comment View Comments
 

Ques 19. What is a virtual function?

A virtual function is a function in a base class that is declared using the 'virtual' keyword and can be overridden by a derived class. It enables dynamic method binding and polymorphism.

Example:

class Shape {
  virtual calculateArea() = 0;
}

도움이 되었나요? Add Comment View Comments
 

Ques 20. What is an abstract method?

An abstract method is a method declared in an abstract class or an interface that has no implementation in the base class. Subclasses must provide an implementation for abstract methods.

Example:

abstract class Printer {
  abstract print();
}

도움이 되었나요? Add Comment View Comments
 

Most helpful rated by users:

Copyright © 2026, WithoutBook.