public void startmethod() throws Exception { System.out.println("1. for copy and paste");
choice = kb.nextInt(); switch (choice) { case 1: copyandpaste.selectOption(); break;
public void selectOption() throws Exception { System.out.println("1. Text file");
switch (choice) { case 1: { this.copyAndPasteTxt(); break;
public void copyAndPasteTxt() throws Exception { System.out.println("enter source loc"); src = kb.nextLine();
break
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)