100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CS2 Quiz 1 - Exam with 100% correct answers 2024/2025 LATEST UPDATE 100% VERIFIED $11.49   Add to cart

Exam (elaborations)

CS2 Quiz 1 - Exam with 100% correct answers 2024/2025 LATEST UPDATE 100% VERIFIED

 0 view  0 purchase
  • Course
  • Navy CS2
  • Institution
  • Navy CS2

CS2 Quiz 1 - Exam with 100% correct answers 2024/2025 LATEST UPDATE 100% VERIFIED

Preview 1 out of 4  pages

  • October 6, 2024
  • 4
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • cs2 quiz 1
  • Navy CS2
  • Navy CS2
avatar-seller
AnswersCOM
CS2 Quiz 1
____ is a style of programming that involves representing items, things, and people as objects
rather than basing the logic around actions. - ANS-object-oriented programming

(default) one copy per object - ANS-dynamic

(default) Private variables, are variables that are visible only to the class to which they belong. -
ANS-private

/home/John/file.type - ANS-Linux File Systems

A class in Java is compound data type containing a set of data fields & functions

public class MyClass {
int x = 5;
} - ANS-Java Class

a func in a parent class whose behavior can be overridenn by a func in a child class w/ the
same name, args, and return type. all public dynamic func in java are virtual by default. -
ANS-virtual function

a func with the same name as its class w/ no return type and any numb of args. Automatically
invoked when an obj is created.

public class MyClass {
int x;

public MyClass() {
x = 5;
}
public static void main(String[] args) {
MyClass myObj = new MyClass();

System.out.println(myObj.x); // Print the value of x
}
} - ANS-constructors

A powerful command-line text editor available on most UNIX and Linux systems. - ANS-the vi
editor

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

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

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