Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In java 4. A method in a subclass has the same name as a method in the superclass but a different signature is an example

In java image text in transcribed
4. A method in a subclass has the same name as a method in the superclass but a different signature is an example of: A. aggregation B. overriding C. overloading D. multiple inheritance 5. Which of the following is not true about abstract classes: A. Must have some abstract methods B. Cannot have constructors, but can be instantiated using the default constructor C. All abstract classes are subclasses of the class Object D. Can neither have constructors nor be instantiated 6. Suppose ClassB extends ClassA. Which of the following is correct? A. ClassB inherits from ClassA but does not from the class Super B. ClassA must declare a no-argument constructor. C. Both ClassB and ClassA inherit from the class Super D. ClassB can overload methods inherited from ClassA 7. The following is part of a class model. Which of the statements below is indicated by this model. 0..1 Bank accountNumber Account A. B. C. D. Account is a subclass of Bank Class accountNumber is a subclass of Account the objects from the classes AccountNumber and Account have a one-to-one association. accountNumber maps Bank objects to Account objects 8. In order to analyze a problem domain to identify the methods in the classes, we should: A. start with the nouns and noun phrases in the domain description B. start with the verbs and verb phrases in the domain description. C. start with the associations between the classes D. start with the outputs of the system

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Principles Of Multimedia Database Systems

Authors: V.S. Subrahmanian

1st Edition

1558604669, 978-1558604667

More Books

Students also viewed these Databases questions

Question

7. Discuss the advantages of embedded learning.

Answered: 1 week ago