Kinds of automobiles with shared properties

Assignment Help Business Management
Reference no: EM131519208

The below from the discussion post. This need to respond in 4 to 6 sentences. This need to reply to the author. This is from software development distribute system. Need help to post.

When it comes to classes and objects I have heard and used many different ways to describe their relationship. Choosing which one to use usually depends on who I am talking to and what I believe they would be best to help them understand the two. Having an automotive background one I often go to is the idea that you can have an automobile class. Now there are many different automobiles out there like cars and trucks. These can actually be broken down further into sports cars, sedans, pick-up trucks, semi-trucks, etc. but I'll keep it simple for this discussion. If you have an automobile class, you could have a car object and then another truck object. Each share the properties of the automobile class such as having four wheels and uses gasoline, but each has their own object properties such as the truck having two doors and a cargo bed while the car has four doors and a smaller cargo trunk.

This simplified concept of cars and trucks both being kinds of automobiles with shared properties and individual properties helps to explain the relationship of classes and objects. In languages such as Java this concept can be expanded on with the idea that an object of a class can also be a class to another object. Using our automobile example again, the class automobile has an object truck, their shared properties include four wheels and a gas tank its individual properties include doors and a truck bed. Now the object truck acting as a class has another object four wheel drive truck. The four wheel drive truck now has all the properties of automobile and truck, but also has its own properties of having a transfer case. But this gets more into the idea of inheritance rather than just classes and objects.

If you look at the example above, a class is the basic framework that all automobiles have in common, and each object is the specific kind of automobile with its own individual properties as well as those included from the class itself. Now not everyone would get this particular analogy, but those who have an automotive or mechanical background probably would. That is why I also state choosing which analogy to use depends on who I am talking to. But all analogies regarding classes and objects are really trying to help people visualize the concept of a hierarchy in programming. You have the base class of all objects of a particular type, then you have objects that are the different kinds of that base class.

Reference no: EM131519208

Questions Cloud

Explanation of the dichotomy between micro and macro : An explanation of "the dichotomy between micro and macro" practice. Then, describe how micro practice has come to dominate the social work profession
Write a discussion about the article : Read the article and write a discussion about the article. Information on any ambiguous of unknown term you needed to look up.
What value should michael put on investment opportunity : Michael Johnson has been given the opportunity of investing in a financial security that will pay him $600 in five years' time.
Explain the single factor or combination of factors : Explain the single factor or combination of factors that you view as having the most influence on personality
Kinds of automobiles with shared properties : This simplified concept of cars and trucks both being kinds of automobiles with shared properties and individual properties helps to explain the relationship.
What is the value today of a stream of cash flows : What is the value today of a stream of annual cash flows paying $500 at the beginning of each of the next 8 years (i.e. the first cash flow will occur today)?
Explore elderly housing issues and describe current trends : Explore elderly housing issues and describe current trends. In this blog, you will provide your thoughts on the readings
Calculate and show the equilibrium output and interest rates : Calculate and show the equilibrium output and interest rates? Suppose instead the government conducts a balanced budget expansion of 120 units. Redo d and e.
Determine a or b has the higher present value : Given the following two sets of cash flows, determine whether A or B has the higher present value. Assume an interest rate of 12%.

Reviews

Write a Review

Business Management Questions & Answers

  Caselet on michael porter’s value chain management

The assignment in management is a two part assignment dealing 1.Theory of function of management. 2. Operations and Controlling.

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. Due to increase in the preference for light beer drinkers, Chris Prangel wants to introduce light beer version in Mountain Man. An analysis into the la..

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. An analysis into the launch of Mountain Man Light over the present Mountain Man Lager.

  Analysis of the case using the doing ethics technique

Analysis of the case using the Doing Ethics Technique (DET). Analysis of the ethical issue(s) from the perspective of an ICT professional, using the ACS Code of  Conduct and properly relating clauses from the ACS Code of Conduct to the ethical issue.

  Affiliations and partnerships

Affiliations and partnerships are frequently used to reach a larger local audience? Which options stand to avail for the Hotel manager and what problems do these pose.

  Innovation-friendly regulations

What influence (if any) can organizations exercise to encourage ‘innovation-friendly' regulations?

  Effect of regional and corporate cultural issues

Present your findings as a group powerpoint with an audio file. In addition individually write up your own conclusions as to the effects of regional cultural issues on the corporate organisational culture of this multinational company as it conducts ..

  Structure of business plan

This assignment shows a structure of business plan. The task is to write a business plane about a Diet Shop.

  Identify the purposes of different types of organisations

Identify the purposes of different types of organisations.

  Entrepreneur case study for analysis

Entrepreneur Case Study for Analysis. Analyze Robin Wolaner's suitability to be an entrepreneur

  Forecasting and business analysis

This problem requires you to apply your cross-sectional analysis skills to a real cross-sectional data set with the goal of answering a specific research question.

  Educational instructional leadership

Prepare a major handout on the key principles of instructional leadership

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd