I know we can create multiple classes inside another class with the only restriction that only one public class is allowed in one source file.
package xyz;
public class TheClass{
class SomeClass{
}
}
class AnotherClass { }
But is there any difference between the SomeClass and AnotherClass here?