Java-Interview-Programs
Java-Interview-Programs copied to clipboard
Refactoring
Total changes in 4 files
1). Collection -->src-->com--> cdac--> collections -->collectionsutils-->CollectionDemo.java (made Renaming of variable elt and refactored the code with extract Method). 2). Collection -->src-->com--> cdac--> collections --> threadsafe --> MainProgram,java, EmployeeRunnable.java, and StudentRunnable.java (Move method). 3).EncryptionDecryption --> src --> com --> cdac --> encrypt --> aes --> AESEncryption.java(extract class refactoring is performed). 4). CountVowels.java in which extract class and Replace conditional with polymorphism is processed and compiled successfully.