Question: Define an interface class Divisible and a class DivStr that implements the interface. Divisible supports the following method://divide value into a List of the value's
Define an interface class Divisible and a class DivStr that implements the interface. Divisible supports the following method://divide value into a List of the value's parts as Object's divide() DivStr: has a constructor that accepts a String as a parameter It's implementation of divide () returns a List of the string's characters Ex: if the string is "to life", divide () returns the List of 't', 'o', '', 'I', 'i', 'f', 'e
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
