Question: Please help write this study guide ArrayList Section Be prepared to write code to create and fill an ArrayList of a given type. ArrayLists are

Please help write this study guide  Please help write this study guide ArrayList Section Be prepared to

ArrayList Section Be prepared to write code to create and fill an ArrayList of a given type. ArrayLists are part of the java.util API. Be familiar with ArrayList methods like add' and remove', size() for length Modularity Section Be able to write a method and its calling code with proper parm passing, return value and visibility. Implement the Comparable Interface Inheritance Section True or False Questions (2 points each) T/F A super class constructor must execute to completion before any statements in its sub class constructor can be executed. T/F You do not have to call a super class constructor explicitly. T/F Java allows you to inherit directly from only one class, but you may implement multiple interfaces. T/F When declaring a class as a super class, you should never declare your fields private; use protected instead. T/F An interface is often thought of as a form of a very restricted super class. T/F An interface allows us to guarantee that any class that implements it will have the behaviors specified by the interface. It is a contract T/F A sub class is not required to override any methods it inherits from its super class. T/F Instance fields should be initialized in the constructor(s) of the class they were declared in if at all possible. T/F The two benefits of inheritance are code re-use and polymorphic behavior

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!