• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 30 pages
Exam (elaborations)

CST 8284 Exam Questions and Correct Answers 100% Verified Graded A+

Document preview thumbnail
Preview 3 out of 30 pages

CST 8284 Exam Questions and Correct Answers 100% Verified Graded A+

Content preview

CST 8284 Exam Questions and Correct Answers 100% Verified Graded A+

Which one of the following is used in UML diagrams to signal that a field is static?

A. underline

B. italics

C. boldface

D. capitalize

E. none of the above - A. underline



Which one of the following is not part of the signature of a method?

A. the name of the method

B. number of parameters

C. the type of each parameters

D. the prefer of the parameters

E. the identifier of the parameters - E. The identifier of the parameters



A class cannot instantiate a new instance of itself if it contains static members. True or False -
False



Of the following relationships:

A. association

B. aggregation

C. composition

D. inheritance

,which two characterize the relationships most commonly used in OOP? - C. Composition
& D. Inheritance



You cannot extend a final class. True or False - True



Which one of the following is NOT TRUE of a class that contains an abstract method?

A. the class cannot be instantiated

B. The abstract method must be overridden in a subclass, unless that subclass is also abstract

C. All the methods in The class will be treated as abstract

D. The class can be inherited by any concrete subclass

E. None of the above - D. The class can be inherited by any concrete subclass



The second (or middle) compartment of a UML class diagram may be omitted if the fields that
class are private. True or False - False



In a UML diagram, static methods are identified by being:

A. Underlined

B. Italicized

C. Bold-Face

D. Capitalized

E. None of the above - A. Underlined




The return type of a method is part of its signature. True or False - False

, Which one of the following words is NOT used indicate a relationship between objects?

A. Association

B. Aggression

C. Composition

D. Inheritance

E. None of the above - B. Aggression



Which one of the following does NOT require a java identifier?

A. A method

B. A property

C. A keyword

D. A class

E. None of the above - C. A keyword



@Override has the effect of:

A. Forcing methods in the superclass to be overridden by methods in the subclass

B. Checking that the spelling of the subclass method/ constructor name is correct

C. Checking that the method and it's parameters on the line that follows actually exists in the
superclass

D. Adding a new method to the subclass which does not exist in the superclass

E. None of the above - C. Checking that the method and it's parameters on the like that
follows actually exists in the superclass

Document information

Uploaded on
September 30, 2026
Number of pages
30
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$13.98

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Sold
22
Followers
0
Items
11309
Last sold
2 weeks ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions