Multiple choice:Given code below:
Given code below:
```Java
package his;
public class My {}
```
Which statement below is NOT correct? @[ C](2)
A. It has to be in a file named My.java.
B. It has to be in a directory named his.
C. It can be in any file but with no any other class definitions in the same file.
D. Any non-public classes can be defined in the same source file as it is in.
A.It has to be in a file named My.java.
B.It has to be in a directory named his.
C.It can be in any file but with no any other class definitions in the same file.
D.Any non-public classes can be defined in the same source file as it is in.
answer:C
```Java
package his;
public class My {}
```
Which statement below is NOT correct? @[ C](2)
A. It has to be in a file named My.java.
B. It has to be in a directory named his.
C. It can be in any file but with no any other class definitions in the same file.
D. Any non-public classes can be defined in the same source file as it is in.
A.It has to be in a file named My.java.
B.It has to be in a directory named his.
C.It can be in any file but with no any other class definitions in the same file.
D.Any non-public classes can be defined in the same source file as it is in.
answer:C