What do teachers and Object Oriented Programming have in common?

they all have classes.

(As a programmer, I'll use this one on my son)

πŸ‘︎ 120
πŸ’¬︎
πŸ‘€︎ u/-brax_
πŸ“…︎ Aug 17 2021
🚨︎ report
Sources for learning object oriented programming in python

I know basics of python - syntax, defining functions and working with basic data types. Mostly self taught. I want to learn some advanced python now. Like classes and objects. Are there any books or youtube channels from which I can learn?

I am from a non-CS background. Python is the only programming language I know. Plz help me techies of r/TamilNadu !!

πŸ‘︎ 22
πŸ’¬︎
πŸ‘€︎ u/bheemboi
πŸ“…︎ Jan 24 2022
🚨︎ report
Object Oriented Programming in C#

Hi everyone! I'm having a tough time understanding and how to properly implement OOP. I got stuck so I went back to the basics of the basics. I'm talking re-reading and re-watching information on Loops, conditionals, datatypes etc. But I've reached this point again and I'm still stuck. Does anyone have any tips or resources that can help me understand how OOP works? It's tough to get an understanding of it when all tutorials or books only show implementation in regards to console applications.

If it matters, my goal with C# is 2D hobby/indie game development on Unity Engine. I've managed to make a Snake clone and my next goal is Tetris.

As I type this I have some tutorials by Brackeys queued on YouTube for basic syntax used in Unity.

Thanks for reading! :)

πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/ericksonconor
πŸ“…︎ Jan 28 2022
🚨︎ report
Finding Object-Oriented Programming Questions for Java

I have an OOP course in Java this semester. I collected some final exam questions from last year. It seems that the final exam questions are mostly based on theories. After taking a look at the questions that I attached below, can you suggest any books/resources/materials/websites or anything from where I can practice similar theory questions?

Some of the questions are as follows:

  1. A try statement must have at least one catch clause or a finally block, while a try-with-resources statement may have no catch clause or finally block

  2. Given int x = 2;, if(x < 2){ x++; } elseif (x > 2) { x--; } is a syntactically correct statement.

  3. Given class C and two methods f and g defined as C’s member methods, removing f from class C will NOT make C’s objects smaller in the memory.

  4. Given an 8-bit signed value x = (11111010)2 in two's complement, the value of x is -6 in decimal.

  5. Arrays are of reference types, so given double[][] myDoubles;, the memory of myDoubles will be reset to 0’s upon its declaration

  6. Composition is a part-of relation between objects and a composition relation is depicted in a UML class diagram as association with a solid diamond (i.e., ⬧) at the composite end of the association line.

  7. Given definition class A{ class B {} }, statement A.B x = new B(); creates a new instance of class A.B.

  8. Given a concrete class T that extends class java.lang.Thread and a variable x of type T (x != null), executing x.run(); will launch a new thread.

  9. Given definitions class A {public int x = 1;} and class B extends A {public int x = 2;}, and a reference A a = new B();, statement System.out.print(a.x); compiles and prints out 1.

  10. Given a method void f(int x){int temp; temp = x + 1;}, local variable temp is always initialized to 0 when f starts to execute.

  11. Given a concrete class T that extends class java.lang.Thread and a variable x of type T (x != null), executing x.run(); will NOT launch a new thread

  12. Given public class HelloWorld{ public static void main(String[] args) { System.out.println("Hello world."); } defined in HelloWorld.java, we can compile HelloWorld.java into HelloWorld.class. Afterward, assuming everything else works as expected, we can use the command java HelloWorld.class to run the program in the console.

  13. An abstract class may implement multiple interfaces but may NOT extend a concrete class.

1

... keep reading on reddit ➑

πŸ‘︎ 9
πŸ’¬︎
πŸ“…︎ Sep 25 2021
🚨︎ report
Does the evolution of React say something about Functional versus Object-oriented programming?

I have used some React at work - by no means an expert - and was told repeatedly that I should favor "functional components" over "class-based components". Now that I am taking a Udemy course ("React - The Complete Guide (incl Hooks, React Router, Redux)" by Max Schwarzmuller) that goes in-depth on the finer points of React - custom hooks, redux - it keeps blowing my mind how much more sleek the functional component-based features are compared to the class-based ones. Using redux with class-based components just looks shockingly bad.

I'd like if someone with knowledge about the genesis and evolution of React could tell me: is this just that the engineers who worked on React preferred Functional-style programming and so gave it a lot more love? Or is there some deeper reason why class-based components suck in React? I am primarily a Java engineer, and like thinking about classes, and it feels like the redux `connect()` method could have been made simpler to use. I know it sounds silly, but learning this material I'm sitting here thinking: is functional programming just more expressive?

πŸ‘︎ 17
πŸ’¬︎
πŸ‘€︎ u/mazerakham_
πŸ“…︎ Jan 09 2022
🚨︎ report
Object Oriented programming hw(Java)

Anyone here who can help with OOP basics homework done using Java ASAP. It consists of multiple choice and guided fill in questions I'll appreciat

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/wet_drops
πŸ“…︎ Jan 18 2022
🚨︎ report
Using the magic of object-oriented programming, I have created a constant-time isEven class.
πŸ‘︎ 199
πŸ’¬︎
πŸ‘€︎ u/End3rp
πŸ“…︎ Nov 14 2021
🚨︎ report
Creating game on JavaFX: Object Oriented Programming Structure Question

So I'm building a game! Pretty proud of making a java app that signs up/logs in users connected to a local DB server.

Now I have a pretty good idea of what will my game do, it is similar to travian and I'm not alone in coding, my main expertise will be coding controllers and listeners.

My question is : I have a DButils class which is the brain of my sign up/login. If I were to add functionalities after logging in, such as settings for a game, number of bots etc, do I keep coding the functions recalling from DB on the same DButil and connect different controllers or create a new DB controller? I was going for the former, which is already the brain of my app as of now and build up from there. I will post the game here in the end. Thanks and kind regards

πŸ‘︎ 11
πŸ’¬︎
πŸ‘€︎ u/JikoFett
πŸ“…︎ Jan 27 2022
🚨︎ report
100%OFF | Object Oriented Programming In C++ & Interview Preparation udemycoupons.me/dev/objec…
πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/UdemyCouponsMe
πŸ“…︎ Jan 02 2022
🚨︎ report
Learning Object Oriented Programming

Hello, I have been struggling to learn the concept of Object Oriented Programming. Do you guys know a good place for me to grasp the concept? Thanks for all your help!

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/rootbeerjayhawk
πŸ“…︎ Jan 30 2022
🚨︎ report
In this Video I explain the concept of object Oriented Programming as easy as possible. Looking for feedback to improve :) Giving lambda for constructive feedback! youtu.be/iEzW-D51B38
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/InvictusLife
πŸ“…︎ Jan 02 2022
🚨︎ report
Eoops: An Object-Oriented Programming System for Emacs-Lisp (1992) [PDF] 3e8.org/pub/scheme/doc/li…
πŸ‘︎ 15
πŸ’¬︎
πŸ‘€︎ u/dharmatech
πŸ“…︎ Dec 22 2021
🚨︎ report
Could I make an abstract factory to merge the other factories in a game I'm working on to learn c# and object-oriented programming?

Sorry if this is the wrong place to ask. I've studied examples here and read up on factory design, factory pattern, abstract factory, & factory method; I followed a tutorial for a game that works well. But I'd like to enhance and expand it so that I can understand the fundamentals of c# and object-oriented programming. There are seven factories in the game, for example. The factories I have in-game are an item factory, a Quest factory, a recipe factory, a monster factory, a spell factory, a trader factory, and a world factory. Is it possible to implement an abstract factory that combines all the factories? I can post my code for the factories if need or would keeping them separate be best? Thank you for any assistance you may provide as well as any feedback you provide to.

πŸ‘︎ 3
πŸ’¬︎
πŸ“…︎ Dec 21 2021
🚨︎ report
M250: object oriented java programming

Can someone describe this course and provide some idea of the level of difficulty (compared to m269, for example)?

Java imo is not as popular as it used to be and is losing ground to other more modern languages. For someone already familiar with object oriented programming, are there still things to learn to make it a worthwhile module? The module description makes it sound very basic but perhaps that's not the case?

Thanks a lot

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/Dry-Fondant7112
πŸ“…︎ Dec 23 2021
🚨︎ report
MCQ with answers for (OOP) | Object Oriented Programming | 22316 | MSBTE | Computer engineering

LINK =>

https://sites.google.com/view/msbtenotes/object-oriented-programming-22316-all-topics-covered-msbte

Object Oriented Programming 22316 MCQ is only for educational purpose.

Students should manually solved Object Oriented Programming 22316 MCQ .

Students should know the importance of Object Oriented Programming 22316 MCQ .Students should study every lesson carefully as we give all MCQ which helps students to learn more.

Solve as many MCQ, papers as you can for goodΒ performance. Many students lack in practice and as a result they get less marks.

After studying Object Oriented Programming 22316 MCQ students will boost their confidence in that subject.

Also students should Download syllabus, MCQ's, previous year papers ,etc. To score good students should refer Object Oriented Programming 22316 MCQ .

We had created very important MCQ's so students can score better.

MSBTE notes is an Educational sites which helps which provides MCQ's, Papers, notes, Important questions, etc. Recommend this site to your friends so they can also beΒ benefited.

https://sites.google.com/view/msbtenotes/object-oriented-programming-22316-all-topics-covered-msbte

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Special_Net2789
πŸ“…︎ Jan 26 2022
🚨︎ report
What is the point of Object Oriented programming?

Been learning Python for a week now and for some reason I'm just not grasping why OOP is useful. Is it basically used for organizational purposes?

Maybe if I could get a simple example when OOP would be advantageous to use it might makes it's purpose more clear.

πŸ‘︎ 180
πŸ’¬︎
πŸ‘€︎ u/zonkedforlife
πŸ“…︎ Oct 01 2021
🚨︎ report
Principle of Object-Oriented Programming
πŸ‘︎ 36
πŸ’¬︎
πŸ‘€︎ u/_sumit_rana
πŸ“…︎ Dec 28 2021
🚨︎ report
Is Object-oriented programming really that important to learn? Isn't there any way around it?

Hi guys! I've been learning Python for 1 month ago and I've been enjoyed it a lot!

But, in my course, I started learning Object-oriented programming, and it's really difficult, so I don't know what to do.

Is it really necessary to learn OOP or is there another way to avoid it ?

πŸ‘︎ 46
πŸ’¬︎
πŸ‘€︎ u/kaiozeiro
πŸ“…︎ Oct 12 2021
🚨︎ report
Principle of Object-Oriented Programming
πŸ‘︎ 42
πŸ’¬︎
πŸ‘€︎ u/_sumit_rana
πŸ“…︎ Dec 28 2021
🚨︎ report
When to use Object oriented programming vs using database like MySQL

I have a very stupid but important question. I was learning more about oop in python but all the examples I saw (like employee directory etc) I feel could be easily done using databases.

So why would someone use oop? scratching my head thinking about this

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/HyperactiveNub
πŸ“…︎ Jan 06 2022
🚨︎ report
How to learn Object Oriented Programming?

Hi guys, currently I'm learning programming in Java at MOOC, and I am at Part 5, Objects and References.

https://java-programming.mooc.fi/part-5/4-objects-and-references

Until that point most of the stuffs went allright, but now everything is confusing. I can create basic classes (for example Book book1 = new Book (String author, int pages), that's okay, but the most problematic parts are "Object as a method parameter", and "Object as object variable". Everything is really abstract. I think I have to reinforce the stuffs I learned so far.

Could you please recommend me online resources which could teach me the most important concepts of this part? Or do you have any advice how to handle these stuffs?

MOOC is great, but at this point it is not a big help.

Thank you!

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/szeredy
πŸ“…︎ Dec 15 2021
🚨︎ report
Principle of Object-Oriented Programming
πŸ‘︎ 15
πŸ’¬︎
πŸ‘€︎ u/_sumit_rana
πŸ“…︎ Dec 28 2021
🚨︎ report
Finding Object-Oriented Programming Questions for Java

I have an OOP course in Java this semester. I collected some final exam questions from last year. It seems that the final exam questions are mostly based on theories. After taking a look at the questions that I attached below, can you suggest any books/resources/materials/websites or anything from where I can practice similar theory questions?

Some of the questions are as follows:

  1. A try statement must have at least one catch clause or a finally block, while a try-with-resources statement may have no catch clause or finally block

  2. Given int x = 2;, if(x < 2){ x++; } elseif (x > 2) { x--; } is a syntactically correct statement.

  3. Given class C and two methods f and g defined as C’s member methods, removing f from class C will NOT make C’s objects smaller in the memory.

  4. Given an 8-bit signed value x = (11111010)2 in two's complement, the value of x is -6 in decimal.

  5. Arrays are of reference types, so given double[][] myDoubles;, the memory of myDoubles will be reset to 0’s upon its declaration

  6. Composition is a part-of relation between objects and a composition relation is depicted in a UML class diagram as association with a solid diamond (i.e., ⬧) at the composite end of the association line.

  7. Given definition class A{ class B {} }, statement A.B x = new B(); creates a new instance of class A.B.

  8. Given a concrete class T that extends class java.lang.Thread and a variable x of type T (x != null), executing x.run(); will launch a new thread.

  9. Given definitions class A {public int x = 1;} and class B extends A {public int x = 2;}, and a reference A a = new B();, statement System.out.print(a.x); compiles and prints out 1.

  10. Given a method void f(int x){int temp; temp = x + 1;}, local variable temp is always initialized to 0 when f starts to execute.

  11. Given a concrete class T that extends class java.lang.Thread and a variable x of type T (x != null), executing x.run(); will NOT launch a new thread

  12. Given public class HelloWorld{ public static void main(String[] args) { System.out.println("Hello world."); } defined in HelloWorld.java, we can compile HelloWorld.java into HelloWorld.class. Afterward, assuming everything else works as expected, we can use the command java HelloWorld.class to run the program in the console.

  13. An abstract class may implement multiple interfaces but may NOT extend a concrete class.

1

... keep reading on reddit ➑

πŸ‘︎ 2
πŸ’¬︎
πŸ“…︎ Sep 25 2021
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.