R
Q. Which of the following is/are true about packages in Java? 1) Every class is part of some package. 2) All classes in a file are part of the same package. 3) If no package is specified, the classes in the file go into a special unnamed package 4) If no package is specified, a new package is created with folder name of class and the class is put in this package.
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Which field cannot be changed after the object has been constructed?
Q. What will be the output of the following Java code?
Q. What will be the output of the following Java program?
Q. Which of these is a super class of wrappers Double & Integer?
Q. An interface contains __________ methods.
Q. Which of the following methods is used to compare two strings for equality in Java?
Q. Which of the following denotes a javadoc comment?
Discusssion
Login to discuss.