Question: 1. a) Make a JAVA method that checks if an element, within a collection, is located in a non-empty column. Return true if its located

1. a) Make a JAVA method that checks if an "element", within a collection, is located in a non-empty column. Return true if its located in a non-empty column and return false otherwise. Assume that the collection is a collection of strings and the element itself is a character.

b) Make another JAVA method that returns the contents of the non-empty column where the passed "element" from part a) is from.

For both questions use an ArrayList to represent the collection

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!