(String args[])
| 13 | } |
| 14 | |
| 15 | public static void main(String args[]) |
| 16 | { |
| 17 | Scanner I = new Scanner(System.in); |
| 18 | System.out.println("ENTER A STRING"); |
| 19 | String s = I.nextLine(); // Considering all characters are distinct |
| 20 | System.out.println(); |
| 21 | subset(s, 0, s.length(), ""); |
| 22 | I.close(); |
| 23 | } |
| 24 | } |