0

FileName$1.class

My file name is FileName. Why I have FileName.class, FileName$1, FileName$2, etc in my folder? A compilation feature?

29th Apr 2017, 6:22 PM
Alex Snaidars
Alex Snaidars - avatar
2 Respostas
+ 9
This should be your anonymous inner classes.
29th Apr 2017, 6:26 PM
Tashi N
Tashi N - avatar
0
@Tashi It must be if I override methods as follows className cn = new className(){ @Override void Say(){ System.out.print("Khm."); } }; I cant find any classes in my base class. --- btw, how to delete a file that has too long title? My experiments led me to inability to delete a file. It says that the title is too long to move into the trash bin. I cannot edit it anyhow on the same reason.
29th Apr 2017, 7:04 PM
Alex Snaidars
Alex Snaidars - avatar