Q:Create a package named "register.candidate" which has an abstract class named FormData that is containing
abstract member function registerCandidate() and an interface named ProcessData containing member
functions processVoting() and show winnerCandidate();
Create registerCandidate() function that takes input(i.d.,name,votingsign and age) from the
user and store them in a file named candidate.txt
The processVoting() function displays all registered candidate id and name.
Student can give vote by entering id of candidate.
The showWinnerCandidate() function displays the winning candidate detail
including no. of votes.