What are the fundamental concepts of OOP?

Let’s learn what are the fundamental concepts of OOP. The most accurate or helpful solution is served by Programmers.

There are ten answers to this question.

Best solution

How best to learn OOP concepts/principles practically?

I wanted to learn object oriented programming language, I dont want it for any purpose just to know the whole concept of OOP. So can anyone tell me which language I should start learning?

Answer:

You can learn any of the object oriented languages such as C++, Java, C# etc. to try out OOPS. If you...

Read more

lamia at Programmers Mark as irrelevant Undo

Other solutions

What is a good book to learn C++ along with its OOP approach? I have programmed in C for a few months. I do understand vaguely what a 'class' is. Still I'm unaware of concepts like inheritance, polymorphism, etc. Suggesting video lectures is also highly appreciated.

I'm looking for a book that imparts advanced programming skills with less introductory pages. That doesn't mean skipping any oop constructs. Or atleast it should give me the freedom to skip a few introductory chapters or atleast skim through them really...

Answer:

Are you kidding, you go to the source:  Bjarn...

Read more

Quora User at Quora Mark as irrelevant Undo

What are different OOP concepts that are in C++ but not in Java?

e.g.  multiple Inheritance,operator overloading,virtual function/class ..etc

Answer:

I can't cite all but 2 prominent ones are: 1. all functions in Java are virtual, in C++ you have to...

Read more

Quora User at Quora Mark as irrelevant Undo

How often do you use OOP concepts in competitive programming?

I have been doing online competitive programming for a while (4 months) and have never used concepts of OOP in any code. Can someone do all of competitive programming without using those concepts EVER? I use c++.

Answer:

Those concepts are for building complex systems which should be maintainable. Competitive programming...

Read more

Chakradar Raju at Quora Mark as irrelevant Undo

How do I learn OOP concepts of Java easily?

After reading I am forgetting the concepts easily. I want to become good developer and I want to know OOP concepts fully.Even if I learn with real time example also I am forgetting it.

Answer:

Lets see if we can compact the OOP concepts for Java (which generally requires whole chapters in a book...

Read more

Usman Saleem at Quora Mark as irrelevant Undo

Answer:

No there is no such non OOP concepts are there which can be used as part of programming

Read more

community wiki at wiki.answers.com Mark as irrelevant Undo

Answer:

UI didnt get your question properly.. So here is my another answer class Vehicle { private double VIN...

Read more

Niro at Yahoo! Answers Mark as irrelevant Undo

Write the coding for the following OOP base concepts?

2. Car and lorry are type of vehicles. But lorry has additional property capacity which is maximum transferrable weight of lorry. This weight can be accessed by the method transferrableWeight ( ). Implement these two special classes of vehicles by extending...

Answer:

I am sorry I dont know VB you might know VB i guess . I can give you the structure in Java. so you can...

Read more

Nadini at Yahoo! Answers Mark as irrelevant Undo

Write the coding for the following OOP base concepts.?

1.Creates vehicle class It has properties No of wheels, no of passenger, speed, keyOn which are not directly accessed but maxspeed can only directly accessed by inheritance class. No of wheels - integer No of passenger - integer Keyon - Boolean It...

Answer:

Sure! But it will take a bit of time so you might have to wait a little.

Read more

Nadini at Yahoo! Answers Mark as irrelevant Undo

Write the coding for the following OOP base concepts.?

1.Creates vehicle class It has properties No of wheels, no of passenger, speed, keyOn which are not directly accessed but maxspeed can only directly accessed by inheritance class. No of wheels - integer No of passenger - integer Keyon - Boolean It has...

Answer:

Post your code. = Then people can help you get it right.

Read more

Lakmal at Yahoo! Answers Mark as irrelevant Undo

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.