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 |
Can we execute a program without main() method?
What is left shift and right shift?
What is data type in computer?
what is the form of storage space in java?
Define how objects are stored in java?
how to call a method in different package?
What is the difference between exception and error in java?
Why is it called boolean?
what is the difference between equals method and ==
17 Answers IBM, Professional Access, TCS,
Why do we need wrapper class?
Is it possible to create Userdefined Unchecked Exception also?If Yes, give an example?
If I only change the return type, does the method become overloaded?