Java coding

profileARapSal
java.docx

R-3.2

Write a Java method that repeatedly selects and removes a random entry from an

array until the array holds no more entries.

R-3.9

Give an implementation of the size( ) method for the SingularlyLinkedList class,

assuming that we did not maintain size as an instance variable.

R-3.10

Give an implementation of the size( ) method for the CircularlyLinkedList class,

assuming that we did not maintain size as an instance variable.

R-3.11

Give an implementation of the size( ) method for the DoublyLinkedList class,

assuming that we did not maintain size as an instance variable.

For each of above problem, please define your own main method to demonstrate that your Java method is working properly.

1