for example if I have a void method in my class and I want to call the method in the
test class using the object.. but the object is initialized as String.. I keep getting an error..
what can I do to fix this ? any idea ?


I also tried to change the method in my class as a String method and call the method
with the object that is initialized as a String in my test class.. that works but
when I start doing my if statements I get errors... because I need to return something..
and I have a lot of if statements to check anladin mi... I got really confused !

can you please explain to me how to solve this problem