Write function in java that uses recursion to check


Problem

Write function in Java that uses recursion (no loops) to check if the String str has any char a. Return true if it does and false if it doesn't.

Examples:

containsA("all") -> true
containsA("Jane") -> true
containsA("Corey") -> false
containsA("CHARLOTTE") -> false

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write function in java that uses recursion to check
Reference No:- TGS03256225

Expected delivery within 24 Hours