Question

1. if you provide an empty method within an abstract class, the method is an abstract...

1. if you provide an empty method within an abstract class, the method is an abstract method even if you do not explicitly use the keyword ____ when defining method

a. virtual

b. implement

c. abstract

d. extends

2. when you create a number of classes that inherit from each other, as well as multiple interfaces that you want to implement with these classes, you often will find it convenient to place these related classes in a ______-

a.group

b. packafe

c. abstract class

d. file

3. _____________ is the process of arranging a series of abject in some logical order

a. passing

b. organizing

c. sorting

d. sending

Homework Answers

Answer #1

1.
if you provide an empty method within an abstract class, the method is an abstract method even if you do not explicitly use the keyword abstract when defining method
Answer:
c. abstract

2.
when you create a number of classes that inherit from each other, as well as multiple interfaces that you want to implement with these classes, you often will find it convenient to place these related classes in a package
Answer:
b. package


3.
sorting is the process of arranging a series of abject in some logical order
Answer:
c. sorting

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
1. when you place objects in order beginning with the object that has the lowest value,...
1. when you place objects in order beginning with the object that has the lowest value, you are sorting in _____ order a. ascending b. reverse c. descending d. lowest 2. when you place objects in order beginning with the object that hs the highest values, you are sorting in __________- order a. ascending b. reverse c. descending d. lowest 3. _____ is mechanism that enables one class to acquire all the behaviors and attributes of another class a. inheritance...
1. ________ class is a class that you create only to extend a)abstract b)inheritance c) parent...
1. ________ class is a class that you create only to extend a)abstract b)inheritance c) parent d)final 2. when you assign a variable or constant of one type to a variable of another type, the behavior is called a) impilict b)referencing c)dynamic method beinding d)containing 3. an application's ability to select the correct subclass method is known as ___ a) implementing methods b) dynamic method binding c)implicit casting d)method fixing
1. when you define a class, if you do not explicitely extend another class, your class...
1. when you define a class, if you do not explicitely extend another class, your class is an extentsion of the _________ class a. object b. super c. public d. abstract 2.The object class ______ method coverts an object into a string that contains information about the object a. equal() b. setType() c. toString() d. speak() 3.The onject class equals() method returns a(n) ________ value indicating thether the object are equal a. int b. equals c. null d. boolean
MUST WRITE IN C++ Objective: Learn how to design classes using abstract classes and inheritance Assignment:...
MUST WRITE IN C++ Objective: Learn how to design classes using abstract classes and inheritance Assignment: MUST WRITE IN C++ Objective: Learn how to design classes using abstract classes and inheritance Assignment: In cryptography, encryption is the process of encoding a message or information in such a way that only authorized parties can access it. In this lab you will write a program to decode a message that has been encrypted using two different encryption algorithms. Detailed specifications: Define an...
Assignment Statement Use the skeleton file starter code (below) to create the following classes using inheritance:...
Assignment Statement Use the skeleton file starter code (below) to create the following classes using inheritance: ⦁   A base class called Pet ⦁   A mix-in class called Jumper ⦁   A Dog class and a Cat class that each inherit from Pet and jumper ⦁   Two classes that inherit from Dog: BigDog and SmallDog ⦁   One classes that inherit from Cat: HouseCat The general skeleton of the Pet, Dog, and BigDog classes will be given to you (see below, "Skeleton", but...
JAVA QUIZ Question 1 Which of the following is false about a "super" call in a...
JAVA QUIZ Question 1 Which of the following is false about a "super" call in a sub class's constructor? Select one: a. It must be the first statement in the constructor b. If you don't include it Java will c. If you don't include it you must have a 0 parameter constructor coded in the super class or no constructors coded at all in the super class d. The sub class constructor containing the super call and the called super...
1.If you have defined a class,  SavingsAccount, with a public  static method,  getNumberOfAccounts, and created a  SavingsAccount object referenced by...
1.If you have defined a class,  SavingsAccount, with a public  static method,  getNumberOfAccounts, and created a  SavingsAccount object referenced by the variable  account20, which of the following will call the  getNumberOfAccounts method? a. account20.getNumberOfAccounts(); b. SavingsAccount.account20.getNumberOfAccounts(); c. SavingsAccount.getNumberOfAccounts(); d. getNumberOfAccounts(); e. a & c f. a & b 2.In the following class, which variables can the method printStats use? (Mark all that apply.) public class Item { public static int amount = 0; private int quantity; private String name; public Item(String inName, int inQty) { name...
1- Use inheritance to implement the following classes: A: A Car that is a Vehicle and...
1- Use inheritance to implement the following classes: A: A Car that is a Vehicle and has a name, a max_speed value and an instance variable called the number_of_cylinders in its engine. Add public methods to set and get the values of these variables. When a car is printed (using the toString method), its name, max_speed and number_of_cylinders are shown. B: An Airplane that is also a vehicle and has a name, a max_speed value and an instance variable called...
Language is C# 1. Create the following classes: Vessel, which is an abstract class and represents...
Language is C# 1. Create the following classes: Vessel, which is an abstract class and represents any water-going craft. Ship, which is a Vessel. Fun Fact: A Ship is any vessel that is large enough to carry smaller Boats. Boat, which is a Vessel. and Cat, which is just a cat. All Vessels should have a float speed; and string name; Ships should have an int fuel and an int maxFuel. Boats should have an int oars; Cats should have...
C# Please just annswer all questions. if you going to answer 1 or 2 questions only...
C# Please just annswer all questions. if you going to answer 1 or 2 questions only please don't answer any. Thank you 1) To make it easy to test a class library, you can: a.   Make sure that all of the classes require only the System namespace b.   Put references to all of the .NET namespaces in the library c.   Add one class to the library at a time d.   Develop the class library project within a solution that contains...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT