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 |
When is the arraystoreexception thrown?
What are parameters in a method?
What is java reflection api?
List the interfaces which extends collection interface?
How do you pass by reference?
Write the code for Palindrome ?
Can we define private and protected modifiers for variables in interfaces?
Explain about member inner classes?
Is object a data type?
What is compiler and what its output.
What is the use of java?
What is java class writing rules?