Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

these are just discussion board questions so they dont have to be super extensiv

ID: 3764586 • Letter: T

Question

these are just discussion board questions so they dont have to be super extensive:

1. Discuss how inheritance is modeled using a UML design tool (or pencil and paper).

2. Discuss the differences and similarities between overloaded methods of a class, overridden methods of a class hierarchy, and polymorphic methods. Introduce/discuss the concept of binding (i.e. name to address).

3. Do some research (Sun, Netbeans, Eclipse) and identify any GUI builder tools that assist in layout and event handling of GUI’s. How do they look?

Explanation / Answer

1)
UML(Unified Modelling Language) design is modelling
real world entities like Book, Person, Account objects
using the basic understading of the what member of the
class and what are the operaions on the class object.
Class diagrams can be modeled using paper and pencil
since in real programming, class coding is required rather
than UML models. Coding is different from Modeling.

--------------------------------------------------------------------------

2)
Method overloading: It is a concept of object oriented programmings.
Polymorphism allows methods to have one name with multiple argument
lists.
As long as the sinnature of the method is same, method overloading ca
be done in the form of argumet list

method signature (argument list)
{
//statements
}


//Same metod signature and differnet argumet list
void sum(int, int);
void sum(int, int, int);
void sum(int, int,int,int);

Method override:
The method override that has same name and behaves in a different way for the current
class in which it is implemented. It is dynamic method that produces the unique behaviours

Example toString method in java programming is override in every class of java

--------------------------------------------------------------------------

3)
Netbeans -Swing GUI Builder
Eclipse -WindowBuilder

GUI tools speed up the process of desiging the front of applications
with rapid speed rathen coding the basic controls.

GUI tools helps programmer drag and drop coding for basic controls
and concentrate on the business logic rather than front end design.

Basic properties of any GUI tools
->Drag and drop of cotrols
->Resize of the windows
->Basic method stubs for methods
->Minimization of code of front end development
->Debugging