Answer Posted / 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 |
Post New Answer View All Answers
What is a parameter in a function?
What is currentthread()?
why using interface interface ?
Can we define a package statement after the import statement in java?
What is garbage collection? Can it be forced to run?
Why put method is idempotent?
What is string subsequence method?
What is the main functionality of the remote reference layer?
How to make a write-only class in java?
What is a ternary operator in java?
Can we call virtual funciton in a constructor ?
What are aggregate functions explain with examples?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
How do you escape sequences in java?
What is oop principle in java?