I am beginner in Java. When I compile "progi.java" I get "progi.class" and "progi$1.class". I don't understand why. Can onybody help me?
That indicates that you have an internal class called 1. Java handles internal classes by prepending the "main" classes name with a $ to the inner classes name. There is nothing to worry about, this is normal.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.