Object-Oriented Programming

Brian Will · 754K views · 2012 · 29:02

Open on YouTube

Software architecture & designEducation & learninglecture

Why Stack Overflow recommends it

Stack Overflow users link it when a beginner's question shows they need a general grounding in how object-oriented programming works.

Recommended by 2 people across 2 different months, 2016 to 2017.

What it is

A 29-minute lecture by Brian Will from his programming-teaching series covering the basics of object-oriented programming. It is aimed at beginners learning how classes and objects work.

What people said

Strong rec CJ Burkey · 2017-06 · Stack Overflow · on “Declaring a Object with the name of the class”

It appears that the class Card is returned by the method in the Deck class that is called deal . We can't really see exactly what you're asking for, but this is a basic explanation of what's going on. If you would like some more information on how Object Oriented programming works, here's an excellent tutorial by Brian Will: [this video] .

Recommends Technologeek · 2016-07 · Stack Overflow · on “Java OOP - Role Playing Game classes in GENERAL”

Let's answer your queries line by line How do I create these classes (I am beginner in OOP). I've heard some encapsulations, polymorphish etc. You cannot develop a game without having a through understand of OOPS.Spend some time understanding Abstraction/Encapsulation/Polymerphsim/Inheritance. I don't know how to use properly the interface, abstract etc. Maybe if you know what those mean you would be able to decide when and how to use them if at all you would be needing them. Thinking of the general states and behavior of classes As you can see in the weapon class. The gun, sword, bow can be use as melee, range, or even magic. And should I call these WeaponType? (range,melee,magic) In this c

Cites user5890979 · 2017-09 · Stack Overflow · on “Creating parent/child relationships among UIViewControllers in a UINavigationController?”

"Is that tweet, in those instances, two separate children to two different parents?". It depends on what you mean by " Tweet ". " Tweet " can be the same object, or two different objects with the same visual content. Both is possible, and there are no "best practices", its all up to your use-case and what you want to achieve. If one object is presented on the screen, inside a UITableView (as in Twitter app), that doesnt make the UITableView or the UIViewController the objects "parent". As for the Twitter app, (I'm not a user of the app) , I would guess it's the same object , showcased in two different places. How is this possible? Core Data [LINK] <-- This is actually the solution to your pr