100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Java I CIS-171 Final Exam Study Guide || WITH ANSWERS 100% CORRECT!! $8.49   Add to cart

Exam (elaborations)

Java I CIS-171 Final Exam Study Guide || WITH ANSWERS 100% CORRECT!!

 3 views  0 purchase
  • Course
  • CIS
  • Institution
  • CIS

Access modifier correct answers States which classes can access a component of the current class. This helps with encapsulation. The modifiers you will see are: + public: any class can access this element - private: this element can only be accessed by the object in which it is contained * pac...

[Show more]

Preview 1 out of 3  pages

  • September 16, 2024
  • 3
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CIS
  • CIS
avatar-seller
ProPerfomer
Java I CIS-171 Final Exam Study Guide || WITH
ANSWERS 100% CORRECT!!
Access modifier correct answers States which classes can access a component of the current
class. This helps with encapsulation. The modifiers you will see are:

+ public: any class can access this element
- private: this element can only be accessed by the object in which it is contained
* package: this element can only be accessed by the object in which it is contained or in by
any instance of a derived class
<none> package.

Accessor correct answers A method used to examine an attribute of an object without
changing it.

API correct answers Application Programming Interface

Argument correct answers A data item specified in a method call. An argument can be a
literal value, a variable, or an expression.

Array correct answers A fixed-size collection of items of the same type and referenced by the
name of the array and index representing the offset from the starting element.

Array Initialized correct answers String[] cars = {"Volvo", "BMW", "Ford", "Mazda"};

ArrayList correct answers A data structure that can hold varying numbers of objects that can
be referenced by an index.

ArrayList Initialized correct answers ArrayList<String> cars = new ArrayList<String>();

Attribute correct answers Another term for a field.

Attribute declaration correct answers String d = " ";

Class correct answers A description of a type of entity, denoting the attributes and behaviors
of all instances of those entities, but not the details which are left to the specific instances.

Class declaration correct answers The first line of a class, which contains the access level, the
keyword class, and the class name.

Class diagram correct answers A visual representation of the relationships between classes.

Constructor correct answers A specialized method that sets the initial values when an objects
is constructed. Note that a constructor never has a return type, not even void.

Declaration correct answers A statement that establishes an identifier and associates attributes
with it, without necessarily reserving its storage (for data) or providing the implementation
(for methods).

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller ProPerfomer. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $8.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

62890 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$8.49
  • (0)
  Add to cart