Java puts classes and variables in different name spaces. This is a bit like Common Lisp where functions have also their own name space. Common Lisp has been criticized for this and has been called ugly. Oracle´s Java 1.7 does it the same and compiles the following example without any complain:
class names
{
public static void main (String[] args)
{
names names = new names();
}
}
Keine Kommentare:
Kommentar veröffentlichen