• 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 1 out of 4 pages
Exam (elaborations)

C201 FINAL EXAM QUESTIONS AND ANSWERS

Document preview thumbnail
Preview 1 out of 4 pages

C201 FINAL EXAM QUESTIONS AND ANSWERS

Content preview

C201 FINAL EXAM QUESTIONS AND ANSWERS

What are the 3 Elements of class definition - Answers -attributes
constructors
methods

What are the 3 types of errors - Answers -syntax
logical
run-time

What are the 3 parts that must match in the arguments and signature of a method -
Answers -return
type
name

What are the 3 parts of a loop - Answers -INITIALIZATION; CONDITION;
AFTERTHOUGHT

What are the 3 main design principles of object-orientated programming - Answers -
Polymorphism
Inheritance
Encapsulation

What are the 3 elements of a constructor - Answers -modifier
name
argument

Explain casting - Answers -taking an Object of one particular type and "turning it into"
another Object type.

Explain overload - Answers -Overloading in Java is the ability to define more than one
method with the same name in a class.

Explain override - Answers -in object-oriented programming, is a language feature that
allows a subclass or child class to provide a specific implementation of a method that is
already provided by one of its superclasses or parent classes.

Explain static - Answers -means that the variable or function is shared between all
instances of that class as it belongs to the type,

Explain A sentinel - Answers -It is simply any constant of your choosing that is not a
legitimate value in a data set, so you can use it to mark the end of a sequence

Explain Mutator - Answers -is a method used to control changes to a variable

Document information

Uploaded on
June 19, 2025
Number of pages
4
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$12.99

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.
GEEKA
3.8
(367)
Sold
2181
Followers
1449
Items
61169
Last sold
3 hours 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