DYNAMIC BINDING I am writing a JAVA(SWING/GUI) program that recognises certain commands.Users will enter command and the program executes the command.I want to be able to add commands in future.I have been able to do it with IF/ELSE statements and would like to do it using polymorhism so as to allow dynamic binding.Part of the code is shown below I am open to any suggestions private class commandhandler implements ActionListener { public void actionPerformed(ActionEvent event) for(int start=0;start<end;start++) { String read=label2.getText(); COMMAND (OpCode,Operand); } } public void COMMAND(String COM1,String COM2) { if(COM1.equals("01")) { String copy1=label.getText(); } else if(opcode.equals("02")) { }