I'm a beginner in java, and this code to create a public int variable isn't working:
import java.awt.*;
public class Variable_Practice {
public static void main (String [] args){
public int number;
It gives me an error on the word number, and it says illegal parameter for modified number; only final is permitted.
There's probably a really simple answer, but I'm a beginner, so sorry if this is a bad question.