Summary of this Deck of Flashcards



DeckID59
DeckNameIT Interview - OOP
DeckDescriptionPreparing for IT Job Interview
Created3/12/2008 11:43:32 AM
AuthorID919d7c52-c10f-4e62-943d-f8686a65a5b0




FrontBack

What is OOP?

Way of programming that defines Object and their interactions to simulate the real world.

Key practices of OOP?

  1. Encapsulation
  2. Inheritance
  3. Polymorphism
  4. Modularity

Give an example of Inheritance?

Defining base class with commong members:

Class Cars{
   String maker;
}

Class BMW inherits Cars
{
}

Class BMW inherits members

What is the difference between a Stack and a Queue?

Stack adheres to LIFO and Queue is FIFO.