Walkins Openings in India & Interview Questions

Walkins in Mumbai, Bangalore, Chennai, Delhi, Gurgaon, Pune


‘Object Oriented Programming Interview Questions’ - KyaPoocha.com

Differentiate between the message and method. 

Message * Objects communicate by sending messages to each other. * A message is sent to invoke a method. Method * Provides response to a message. * It is an implementation... Read more »

When does a name clash occur? 

A name clash occurs when a name is defined in more than one place. For example., two different class libraries could give two different classes the same name. If... Read more »

List out some of the object-oriented methodologies. 

Object Oriented Development  (OOD) (Booch 1991,1994). Object Oriented Analysis and Design  (OOA/D) (Coad and Yourdon 1991). Object Modelling Techniques  (OMT) ... Read more »

Differentiate persistent & non-persistent objects? 

Persistent refers to an object’s ability to transcend time or space. A persistent object stores/saves its state in a permanent storage system with out losing the... Read more »

Differentiate Aggregation and containment? 

Aggregation is the relationship between the whole and a part. We can add/subtract some     properties in the part (slave) side. It won’t affect the whole part. Best... Read more »

What is meant by “method-wars”? 

Before 1994 there were different methodologies like Rumbaugh, Booch, Jacobson, Meyer etc who followed their own notations to model the systems. The developers were... Read more »

Who were the three famous amigos and what was their contribution to the object community? 

The Three amigos namely, James Rumbaugh (OMT): A veteran in analysis who came up with an idea about the     objects and their Relationships (in particular Associations). Grady... Read more »

What is Downcasting ? 

Downcasting is the casting from a general to a more specific type, i.e. casting down the hierarchy.  Read more »

Can a method be overloaded based on different return type but same argument type ? 

No, because the methods can be called without using their return type in which case there is ambiquity for the compiler.  Read more »

What are the advantages of OOPL? 

Object oriented programming languages directly represent the real life objects. The features of OOPL as inhreitance, polymorphism, encapsulation makes it powerful.  Read more »

What is the difference between procedural and object-oriented programs? 

1. In procedural program, programming logic follows certain procedures and the instructions are executed one after another. In OOP program, unit of program is object,... Read more »

How many ways can an argument be passed to a subroutine? 

An argument can be passed in two ways. They are Pass by Value and Passing by Reference. Passing by value: This method copies the value of an argument into the formal... Read more »

What is difference between overloading and overriding? 

a) In overloading, there is a relationship between methods available in the same class whereas in overriding, there is relationship between a superclass method and... Read more »

What is the difference between superclass and subclass? 

A super class is a class that is inherited whereas sub class is a class that does the inheriting.  Read more »

What are inner class and anonymous class? 

Inner class : classes defined in other classes, including those defined in methods are called inner classes. An inner class can have any accessibility including... Read more »

What is multithreading? 

Multithreading is the mechanism in which more than one thread run independent of each other within the process.  Read more »

What is the difference between shadow and override? 

Overriding is used to redefines only the methods, but shadowing redefines the entire element.  Read more »

What is Python and what is scope of Python? 

Python : Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, P e r l, Scheme or Java. Python combines remarkable... Read more »

If a class is declared without any access modifiers, where may the class be accessed? 

A class that is declared without any access modifiers is said to have package access. This means that the class can only be accessed by other classes and interfaces... Read more »

Does a class inherit the constructors of its superclass? 

A class does not inherit constructors from any of its super classes.  Read more »

Page 2 of 2«12
  • Subscribe

      Get Latest Walkins in your INBOX, enter your email address:


  • Walkins by Location


  • Walkins by Skills