Object Orientated Programming

Report
Question

Please briefly explain why you feel this question should be reported .

Report
Cancel

I am doing a computer science course and as a project have to complete an object orientated scenario. For mine I have a superclass being a glider plane, and then my subclasses being a Prop Plane and a Fighter Plane. I am using an images from the internet for my scenario but I am wondering where I should be declaring the image used? Do I do it at the beginning of each class?

This scenario is being coded in Java using Processing.

in progress 0
Java 6 months 1 Answer 415 views 0

About RachBern

Answer ( 1 )

  1. Please briefly explain why you feel this answer should be reported .

    Report
    Cancel

    Glider Plane is the blueprint class remember that should have all the basic feature of a plane, the subclasses are meant to be represented with different images. Note the 2 subclasses Prop Plane and a Fighter Plane inherits their basic properties from the Glider plane. I guess an Image would be good enough to represent the main class.

Leave an answer

Browse

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>