Use the New Java Class wizard to create a new Java class. There are a number of ways to open this wizard:
or
or
or
or
Creating Java elements
Creating a new Java project
Creating a top-level class
Creating a nested class
Creating a class in an existing compilation unit
Setting execution arguments
New Java Project wizard
New Source Folder wizard
New Java Package wizard
New Java Class wizard
Java Toolbar actions