OOPS Interview Questions You'll Most Likely Be Asked

3 of 5 Stars!

Price: $19.95


OOPS Interview Questions You'll Most Likely Be Asked is a perfect companion to stand ahead above the rest in today's competitive job market. Rather than going through comprehensive, textbook-sized reference guides, this book includes only the information required immediately for job search to build an IT career. This book puts the interviewee in the driver's seat and helps them steer their way to impress the interviewer.




a) 153 OOPS Interview Questions, Answers and Proven Strategies for getting hired as an IT professional

b) Dozens of examples to respond to interview questions

c) 51 HR Questions with Answers and Proven strategies to give specific, impressive, answers that help nail the interviews

d) 2 Aptitude Tests Software download available


Sample from the book

(Below Questions and Answers are randomly taken from different pages of the book)

7: What is meant by Encapsulation?


Encapsulation is the process of compartmentalizing the elements of an abstraction that defines the structure and behavior. Encapsulation helps to separate the contractual Interface of an abstraction and implementation. It is the process of combining data and functions into a single unit called class. Using the method of encapsulation, the programmer cannot directly access the data. Data is only accessible through the functions present inside the class.


8: What is meant by Inheritance?


Inheritance is a relationship among classes, wherein one Class shares the structure or behavior defined in another Class. This is called Single Inheritance. If a Class shares the structure or behavior from multiple classes, then it is called Multiple Inheritance. Inheritance defines IS-A hierarchy among classes in which one subclass inherits from one or more generalized super classes.


9: What is meant by Polymorphism?


Polymorphism literally means taking more than one form. Polymorphism is a characteristic of being able to assign a different behavior or value in a subclass, to something that was declared in a parent Class. It is a powerful feature of the object oriented programming language. A single operator behaves differently in different contexts such as integer, float or strings referring the concept of Polymorphism. It refers to the ability to call different functions by using only one type of function call.


30: Explain Multiple Inheritance?


Inheritance involves inheriting characteristics from its parents also they can have their own characteristics. In Multiple Inheritance a Class can have characteristics from multiple parents or classes. A sub Class can have characteristics from multiple parents and still can have its own characteristics.


85: What is Sealed Class?


A Sealed Class cannot be used as a base class. For this reason, it also cannot be an abstract class. Sealed classes are primarily used to prevent derivation. They add another level of strictness during compile-time, improve memory usage, and trigger certain optimizations that improve run-time efficiency.

To create a sealed Class in C#, the Class declaration should be done as:

sealed Class Shape

To create a sealed Class in VB.NET, the Class declaration should be done as:

NonInheritable Class Shape


86: What is meant by Data Hiding?


In C++, it is possible to create and provide an interface that accesses only certain elements of data types. The programmer can decide which user to give or grant access to and hide the other details. This concept is called Data Hiding which is similar in concept to data abstraction. Data hiding is the implementation details of a class that are hidden from the user. The concept of restricted access led programmers to write specialized functions or methods for performing the operations on hidden members of the class.

By definition: Data Hiding is a form of encapsulation in which we define access to data as a responsibility. It is worth-noting that all data hiding is encapsulation, but not all encapsulation is data hiding.


121: Can we instantiate an Interface?


You can’t instantiate an Interface directly, but you can instantiate a Class that implements an Interface.


122: Can we create an Object for an Interface?


Yes, it is always necessary to create an Object implement-ation for an Interface. Interfaces cannot be instantiated in their own right, so you must write a Class that implements the Interface and fulfill all the methods defined in it.


123: Do Interfaces have Member Variables?


Interfaces may have Member Variables, but these are implicitly public, static, and final - in other words, Interfaces can declare only constants, not instance variables that are available to all implementations.


124: What modifiers are allowed for methods in an Interface?


Only Public and Abstract modifiers are allowed for methods in Interfaces