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 are the different non-access specifiers in java?
What are the two ways to create a thread?
What is the difference between static and non-static variables in java programming?
What are the standards to place package statement within a source code file?
class A{ some variables; public void a()throws Excepion1,Exception2{....} } class B extends A{ variables... public void a()throws E2,E3{.....} } Qns: here override of methods occurs or not,ore else wil give any compilation error or run properly..plz tell me briefly whts happening with the above codes....
What is map and hashmap in java?
How is Garbage collection done in Java?
What is appletviewer?
What are the topics in advance java?
which swing component is similar to rich text box in .net/vb
How to print nodes of a Binary tree?
What do you mean by JVM?