Write code in Java:
-Must be recursive
import java.util.*;
import java.lang.*;
import java.io.*;
//*Analysis goes here*
//*Design goes here*
class AllPermutation {
public static void displayPermutation(String s) {
//*Code goes here*
}
public static void displayPermutation(String s1, String s2) {
//*Driver class shouldnot be changed*
class DriverMain {
public static void main(String args[]) {
Scanner input = new Scanner(System.in);
AllPermutation.displayPermutation(input.nextLine());
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here