100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
SE 310 Midterm Study Guide (1) CA$11.28   Add to cart

Exam (elaborations)

SE 310 Midterm Study Guide (1)

 1 view  0 purchase

SE 310 Midterm Study Guide (1)

Preview 1 out of 3  pages

  • August 12, 2024
  • 3
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
All documents for this subject (49)
avatar-seller
topgradesdr
SE 310 Midterm Study Guide
This is a variable that uses the word final. If you try to modify it, you will get a runtime error. -
ANS-JAVA Concepts: What is a class constant's equivalent?

A static variable is initiated once for the entire class, and it is mutable. - ANS-JAVA Concepts:
What are static variables?

Static methods can be used without instantiating an object, and they can use static variables. A
use case would be a math library. - ANS-JAVA Concepts: What are the use cases of static
methods?

Both abstract and non-abstract methods. static methods, and a constructor. It just can't be
instantiated. - ANS-JAVA Concepts: What kind of methods can an abstract class have?

Trick question: an interface doesn't have any methods, it just defines what methods must be
implemented as a prototype for the class implementing said interface. - ANS-JAVA Concepts:
What kind of methods can an interface have?

Where you inherit from more than one class. Java technically does not support it, but it
approximates it with interfaces. - ANS-JAVA Concepts: What is multiple inheritance? Does Java
support it?

Final, non-final, static, and non-static variables. - ANS-JAVA Concepts: What kind of variables
can an abstract class have?

You can only create static and final variables in an interface, since no instance can exist. -
ANS-JAVA Concepts: What kind of variables can an interface have?

Yes - ANS-JAVA Concepts: Can an abstract class implement an interface?

No, they provide prototypes for what methods a class that implements them must implement. -
ANS-JAVA Concepts: Can an interface implement an abstract class?

The constructor of the parent class is called, then the constructor of the class is called. -
ANS-JAVA Concepts: What happens when you instantiate an object that extends some parent
class of that child class's type?

No, a copy of a pointer is passed instead of the pointer itself. - ANS-JAVA Concepts: if you pass
in a variable to a function and modify there, is it changed outside the function?

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

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

81503 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
CA$11.28
  • (0)
  Add to cart