Question: Write a java class that can store Strings in a single data structure (possibly with multidimensional arrays). Use the following methods to store, manipulate and
Write a java class that can store Strings in a single data structure (possibly with multidimensional arrays). Use the following methods to store, manipulate and retrieve information from there. sendMessage(String): to store a new String iteratively in the data structure, deleteMessage(String): this will compare the String passed as parameter with the existing Strings in the data structure, showMessage(int): this method will take an integer (e.g. int i)as input and will print the ith number of String from the data structure. *
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
