briefley expalin about the packages
Answers were Sorted based on User's Feedback
Answer / mayank sharma
file 1
package ListPkg;
public class List { ... }
class ListNode {...}
file 2
package ListPkg;
public class NoNextItemException { ... }
file 3
public class Test { ... }
class Utils { ... }
file 4
class Test2 { ... }
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / geetha
A package is a grouping of related types providing access protection and name space management.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / amrutha
A package contains a set of classes and interfaces.
package packagename;
interface interfacename{
}
class Classname{
}
class Test{
}
Is This Answer Correct ? | 0 Yes | 0 No |
What is return keyword in java?
When arithmeticexception is thrown?
WHAT IS THE SCOPE FOR COREJAVA...? IS JAVA ONLY CORE JAVA ?
How can the checkbox class be used to create a radio button?
Why is java multithreaded?
Why heap memory is called heap?
I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?
What is google full form?
What are white spaces in java?
Is array size fixed in java?
what is mean by thread lock?
What is skeleton and stub? What is the purpose of those?