3-1 Discussion: Object-oriented Programming Principles

PLEASE ANSWER THE FOLLOWING DISCUSSION QUESTION. AFTER COMPLETING THE INITIAL RESPONSE, PLEASE ALSO PROVIDE RESPONSES TO THE TWO STUDENT’S DISCUSSION POSTS BELOW REGARDING THE SAME TOPIC! This week, you have learned about various object-oriented programming principles and their importance in programming. In this discussion, you will spend time discussing these principles with your peers. You will also reflect on what you have learned in the first few modules of the course. In your initial post for this discussion, address the following: In responding to your classmates, address the following: To complete this assignment, review the Discussion Rubric. STUDENT ONE: Hello, OOP plays a role in programing by enabling four different principles to work together by allowing you to separate code into different classes. For example Encapsulation allows you to lock down classes that are not allowed to be touch by other classes in the code or scripts. While on the other hand you polymorphism that allows you to use other classes to create sub-classes to work off each other. Then abstraction allows you to nick pick what you want to use for each classes with different inputs. Then inheritance does what it means it can inherit other properties to fill its child or traits. I think for me as I go into week three and my second programming class I am learning more on how I don’t think I have a mind set of a programmer to sit down and focus. I am having a hard time to sitting down and absorbing all the information that I need. I am slowly working through it but it is something I am noticing as time goes on. STUDENT TWO: So far learning about object oriented program has been pretty interesting. The four concepts working together form a nice cohesion. First up is Encapsulation which is going to reduce the complexity of your code by helping to eliminate the overall number of parameters in the code. Increasing the reusability within our code is going to help us out as well. Instead of writing out entire equations we can just write one and reuse it over and over. Next is Abstraction which is going to reduce the complexity. Whenever you create a new object it should only expose a high level mechanism for using it. The relevance needs to stay within the current object and what it needs to function. Good implementation of this will isolate the impact of changes as well. With Inheritance we can start to do some unique things. After creating a parent class, we can begin to spawn child classes. Each of these child classes can be unique and have their own specific functions. Of course these can also spawn more child classes that can all use the fields and methods of the parent class. This will help eliminate redundant code. Lastly polymorphism helps us refactor ugly switch/case statements. Instead of creating many switch statements we can polymorph one to be use over and over. This is necessary within the hierarchy of child parent classes. Without this we would not be able to have a method implemented for the parent class that we’d like for the children too. Learning about OOP and how everything is coming together has been the best so far to me. I’ve enjoyed learning java quite a bit more than I initially expected I would, but I think I’m starting to understand the concepts a bit. I feel I just need more practice and review so I don’t forget to utilize all the tools available. Requirements: 2 paragraphs for initial post and 1 paragraph for EACH student response How do the four main OOP principles (inheritance, encapsulation, abstraction, and polymorphism) work together to make a well-designed application? How do they allow a programmer to create more reusable and maintainable code? What was the most interesting thing that you learned in the course so far? What concept(s) do you feel are unclear or that you need more practice applying? What did you learn from your classmate’s post? Do you have any additional information on any of the principles for your classmate to consider? What did you find interesting or relatable in your peers’ posts?

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
error: Content is protected !!
Open chat
1
You can contact our live agent via WhatsApp! Via + 1 929 473-0077

Feel free to ask questions, clarifications, or discounts available when placing an order.

Order your essay today and save 30% with the discount code GURUH