0

Possible Duplicate:
Is there a standard in java to use _ [underscore] in front of variable or class name

Can anyone tell whether an underscore before the java filename has a special meaning or its just a normal java file? (means can we have a java file named _abc.java as a normal java file or it has some special functions in it)

Thanks

Community
  • 1
  • 1
user1685091
  • 59
  • 2
  • 4
  • 10
  • (Ask the person who named it that way - does the class it contains *also* have an underscore? Is said class *used* at all? That would be the bigger/core mystery ..) –  Oct 01 '12 at 06:04

2 Answers2

0

It is similar to other Java files but these naming conventions are followed to distinguish a file from other files.

Lets say, in your project you want to define some special constants OR want to have some special functions, then you should name the file in such a way so it can be easily distinguished. _ fits for it.

Azodious
  • 13,752
  • 1
  • 36
  • 71
0

Nothing special. But it means simply that code is not adhering to standard java convention given by Sun

sakthisundar
  • 3,278
  • 3
  • 16
  • 29