Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need help with 13 short answers and 5 true or false please! 1. is declaring a

ID: 3731495 • Letter: I

Question

I need help with 13 short answers and 5 true or false please!

1. is declaring a method with the exact same signature as a method in a superclass. 2. a method of code reuse that allows you to define a new class by extending the data fields and methods of an existing class. is the only Java class that does not have a superclass (case sensitive answer). 4 is using subtypes/subclasses in contexts where a related superclass is expected occurs at runtime and is used to locate the most recently defined implementation of an overridden method 6. New activation records are stored in in this area of memory when methods are invoked 7. New objects are allocated in this area of memory. 8. consists of the public method signatures and public constants and defines what can be accessed by a client. Separating the use of a class from its implementation. 10 A process in which a subclass constructor will first implicitly or explicitly call the constructor of a superclass before executing. modifier used to describe a method that can be invoked without instantiating an object of the enclosing class. 12. A pillar of OOP that facilitates changes to the implementation of a class such that other classes that use the modified class are not impacted. 13 The process of reclaiming memory that is no longer used by a running program.

Explanation / Answer

1. Method overriding: Method overrinding is declaring a method with exact signatre and return type as a method in super class

2. Inheritance: Inheritance is a method of code reuse that allows you to define a new class by extending the data field and methods of an existing class

3. String: String is the only class that doesn’t have a super class.

4. Polymorphism: Poplymorphism is where a super class is expected.

5. Method Overriding:

6. Heap:

7. Heap:

8. Static Methods:

9. Interface:

10: Inheritence

11. Public:

12. Abstractions:

13. Garbage collection:

1. True: Static variable and class variable are similar terms

2. False:

3. True

4. False

5. True

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote