When i reset the game keeps the same score as when i died how can i make it so the score goes back down to zero


1 2 | //replace 'score' with the name of the variable that stores the score score = 0 ; |
1 | private static int score; |
1 2 3 4 | public Classname() { score = 0 ; } |