100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
APSU CSCI 2010 - MIDTERM REVIEW EXAM QUESTIONS AND ANSWERS 2024 $14.99   Add to cart

Exam (elaborations)

APSU CSCI 2010 - MIDTERM REVIEW EXAM QUESTIONS AND ANSWERS 2024

 2 views  0 purchase
  • Course
  • CSCI
  • Institution
  • CSCI

APSU CSCI 2010 - MIDTERM REVIEW EXAM QUESTIONS AND ANSWERS 2024

Preview 2 out of 7  pages

  • October 11, 2024
  • 7
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CSCI
  • CSCI
avatar-seller
BRAINBOOSTERS
APSU CSCI 2010 - MIDTERM
REVIEW EXAM QUESTIONS
AND ANSWERS 2024
Void method returns a value
False
Method header contains:
Access modifier: public
return type: void
Name of method: writeOutput
Parameter list: ()
Previous
Play
Next
Rewind 10 seconds
Move forward 10 seconds
Unmute
0:01
/
0:15
Full screen
Brainpower
Read More
method body
Contains sequences of statements to execute when the method is
called, and must be surrounded by { and }.
Method can be defined to return a value?

, True
When the method is called
return value should be stored in a variable
Keyword "this":
refers to the object that is performing the action specified by the
method
Local variable:
Only be accessed within the function that defines it
Parameter:
A named variable to import arguments into a function
A method body can contain a call to another method
True
If the method being called is in the same class, the receiving object
does not need to be specified
True
Information hiding:
A programmer using a method needs to know what the method
does, not how it does it.
Comments:
specify what a method does
Precondition comment:
states the conditions that must be true before the method is called.
Postcondition comment:
Describes all of the effects produced by a method call.
Encapsulation:
Means that the details of a class are hidden if they are not
necessary to understand how objects of the class are used.
Class interface:
Consists of the headers of the public methods and any public named
constants in the class.

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 BRAINBOOSTERS. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

78252 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
$14.99
  • (0)
  Add to cart