0
Do someone know how to store result of vote and display it into other class?
So i made a voting system with 2 button choices. How can i display the result of clicked button into other class like pres1 and pres2 if i click president 1 it should display a a value of president winner in other class
1 Réponse
+ 1
President winner = president1;
OtherClass.setWinner( winner );