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...
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.
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
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
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
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.