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 the purpose of assert keyword used in jdk1.4.x?
What does the “final” keyword mean in front of a variable? A method? A class?
Can we force garbage collector to run ?
how your day start in your company
Explain features of interfaces in java?
What is the functionality of Webserver?
What are Advatages of Overloading and Overridding.
Difference difference paint() and paintcomponent()?
For class CFoo { }; what default methods will the compiler generate for you>?
How does a for loop work java?
What is meant by 'Class access modifiers'?
What is passed by reference and pass by value ?