Question: FOR JAVA in your own word and can you please give me pseudocode example for every question 1.What is meant by an immutable object? What

FOR JAVA in your own word and can you please give me pseudocode example for every question

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

2.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?

3.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?

4.Describe "getters" and "setters"? Why do we use them? What are other names for these concepts?

5.Describe Javadoc. How do we comment a program to use Javadoc? What are the @keywords used by Javadoc?

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!