Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 1 out of 4 pages
Exam (elaborations)

CSE 205 MIDTERM 2026 EXAM QUESTIONS AND SOLUTIONS RATED

Document preview thumbnail
Preview 1 out of 4 pages

CSE 205 MIDTERM 2026 EXAM QUESTIONS AND SOLUTIONS RATED

Content preview

CSE 205 MIDTERM 2026 EXAM QUESTIONS AND
SOLUTIONS RATED A+
✔✔Members that are protected in the super class are visible in the derived class. -
✔✔True

✔✔A Java interface defines a set of methods that are required. - ✔✔True

✔✔Members that are protected in the derived class are visible in the super class. -
✔✔False

✔✔A sub-class may inherit methods or instance variables from its super class but not
both. - ✔✔False

✔✔The "super" keyword is used in the subclass constructor to call a specific super
class constructor. - ✔✔True

✔✔A class from which you can create objects is called a concrete class. - ✔✔True

✔✔All methods in an interface are automatically public. - ✔✔True

✔✔An abstract method has a name, a return type, and code in its body, but has no
parameters. - ✔✔False

✔✔A sub-class may inherit methods and instance variables from its super class, and
may also implement its own methods and declare its own instance variables. - ✔✔True

✔✔All methods in a Java interface must be abstract. - ✔✔True

✔✔An abstract method has a name, parameters, and a return type, but no code in the
body of the method. - ✔✔True

✔✔A super class inherits data and behavior from a subclass. - ✔✔False

✔✔You cannot create sub-classes from abstract classes. - ✔✔False

✔✔You can always use a sub-class object in place of a super class object. - ✔✔True

✔✔A subclass that inherits instance variables from its super class may not declare
additional instance variables. - ✔✔False

Document information

Uploaded on
April 6, 2026
Number of pages
4
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
£9.43

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.
BOARDWALK
3.5
(41)
Sold
283
Followers
10
Items
32850
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed 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