1 votes 1 votes Which of the following is/are true about packages in Java? Every class is part of some package. All classes in a file are part of the same package. If no package is specified, the classes in the file go into a special unnamed package. If no package is specified, a new package is created with folder name of class and the class is put in this package. Only $1,2$ and $3$ Only $1,2$ and $4$ Only $4$ Only $1$ and $3$ Java nielit2017july-scientistb-it non-gate java + – admin asked Mar 30, 2020 • retagged Oct 23, 2020 by Krithiga2101 admin 6.7k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes Except 4 rest all are correct. Package name is same as path name if its unspecified, it doesn't depend on class name. So A is correct. smsubham answered Mar 30, 2020 smsubham comment Share Follow See all 0 reply Please log in or register to add a comment.