100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

CSE 110 EXAM 2 2026 COMPREHENSIVE STUDY GUIDE COMPLETE SOLUTIONS VERIFIED

Rating
-
Sold
-
Pages
51
Grade
A+
Uploaded on
10-01-2026
Written in
2025/2026

CSE 110 EXAM 2 2026 COMPREHENSIVE STUDY GUIDE COMPLETE SOLUTIONS VERIFIED

Institution
CSE 110
Course
CSE 110











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CSE 110
Course
CSE 110

Document information

Uploaded on
January 10, 2026
Number of pages
51
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CSE 110 EXAM 2 2026 PREMIUM REVIEW
QUESTIONS CORRECT RESPONSES

◉ Consider the following code snippet:
public class Coin
{
...
public void setCoinName(String name)
{. . . }
public String getCoinName()
{. . . }
public String getCoinValue()
{. . . }
}


Assuming that the names of the methods reflect their action, which
of the following statements about this class is correct?


a) setCoinName is an accessor method.
b) setCoinName is a mutator method.
c) getCoinName is a mutator method.

,d) getCoinValue is a mutator method. Answer: b


◉ A method in a class that returns information about an object but
does not change the object is called a/an ____ method.


a) mutator
b) accessor
c) void
d) constructor Answer: b


◉ A method in a class that modifies information about an object is
called a/an ____ method.


a) mutator
b) accessor
c) void
d) constructor Answer: a


◉ 32) Which of the following is an accessor method of the
CashRegister class used in the textbook?


a) getTotal

,b) addItem
c) clear
d) The CashRegister class does not have any accessor methods.
Answer: a


◉ Which of the following is a mutator method of the CashRegister
class used in the textbook?


a) getTotal
b) getCount
c) clear
d) The CashRegister class does not have any mutator methods.
Answer: c


◉ Which type of method modifies the object on which it is invoked?
a) Constructor method.
b) Static method.
c) Accessor method.
d) Mutator method. Answer: d


◉ The utility that formats program comments into a set of
documents that you can view in a Web browser is called ____.

, a) javadoc
b) javac
c) javad
d) java Answer: a


◉ You should declare all instance variables as ___.


a) protected
b) class
c) public
d) private Answer: d


◉ Private instance variables ___.


a) can only be accessed by methods of a different class


b) can only be accessed by methods of the same class


c) cannot be accessed by methods of the same class


d) can only be accessed by the constructor of the class Answer: b

Get to know the seller

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.
FocusFile7 Harvard University
View profile
Follow You need to be logged in order to follow users or courses
Sold
44
Member since
7 months
Number of followers
2
Documents
21560
Last sold
2 days ago
FocusFile7

Welcome to FocusFile, your inspiring hub for academic excellence! Just like your favorite café where every sip brings comfort, FocusFile is designed to be your go-to space for clear thinking, deep focus, and study success. Here at FocusFile, I believe learning isn’t just about cramming it’s about clarity, growth, and building the confidence to conquer any challenge. That’s why you’ll find a handpicked collection of top-notch, easy-to-digest study materials, smart summaries, and guides tailored to a wide range of subjects and learning styles. Whether you're gearing up for exams, brushing up on class notes, or just need that extra push, FocusFile has you covered. From quick-reference sheets to deep-dive notes, there’s something here for every learner whether you're a visual thinker, a bullet-point lover, or someone who thrives on quick, impactful insights. Think of FocusFile as your academic sanctuary, a place where productivity meets peace of mind. So grab your favorite drink, settle in, and let’s sharpen your focus and fuel your success, one file at a time. Thanks for making FocusFile your study partner. Let’s unlock your full potential together!

Read more Read less
4.3

4 reviews

5
2
4
1
3
1
2
0
1
0

Recently viewed by you

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

Frequently asked questions