When I create a new class using the above menu ,a new java file is created for each class and as you can see this leads to a lot of .java files very quickly(Why does ellipse show a .class structure inside a .java file, ) , is this a good design practice considering the fact that sometimes I only want classes to be very small such as
class Name
{
String firstName;
String lastName;
}
I'm new to Eclipse and Java IDE's , can you also tell me a shortcut to create a new class .