We are making classes for our solar system, and we have a class called Planet and a class called Jupiter. We should use ___________________ with these classes.

A. polymorphism
B. inheritance
C. composition
D. virtual abstraction


B

Computer Science & Information Technology

You might also like to view...

Rotate means

What will be an ideal response?

Computer Science & Information Technology

To copy a non-adjacent group of files, press and hold the ________ key

A) C B) Tab C) Shift D) Ctrl

Computer Science & Information Technology

A report based on a ________ will ask for a criterion each time it is opened and will display results based on the criterion allowing one report to display a variety of results

A) parameter query B) main form C) subform D) grid

Computer Science & Information Technology

Given the declaration public class MyClass{    private int x;    public void print()    {        System.out.println("x = " + x);    }    private void setX(int y)    {        x = y;    }}MyClass myObject = new MyClass();The following statement is legal. myObject.setX(10);

Answer the following statement true (T) or false (F)

Computer Science & Information Technology