Question: it's java 1. What is a constructor? What is a default constructor? What is the typical use of a constructor? How do you use a

it's java

1. What is a constructor? What is a default constructor? What is the typical use of a constructor? How do you use a super class constructor? What is a copy constructor?

2. What is meant by an immutable object? What object do we use all the time that is immutable? Why is it implemented that way?

3. What is meant by inheritance? Describe a superclass and a subclass. What is the keyword that is used to implement inheritance? What is a chain of inheritance?

4. What is the "is a" test that we described in class? How does this test relate to inheritance? How does this relate to general classes and specific classes?

5.What is the difference between a primitive data variable and a reference variable? What is meant by passing a variable by value versus reference? What are the potential pitfalls of using a reference variable?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!