Answer Posted / kanchan bangar
package is a collection of classes.
And default package is package in which classes are
included already.
we need not create the new package.
If we are enter only package name then all the classes in
that default package we can used.
example:-
default package:-java.lang
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
why not override thread to make a runnable? : Java thread
How does java enable high performance?
Why is the main method static?
How does list work in java?
What is initial size of arraylist in java?
What’s the difference between applets and standalone program?
State the main difference between c++ and java?
How to sort an unsorted array in java?
Why do we declare a class static?
What are streams?
Can we have any other return type than void for main method?
What is the main purpose of java?
What is data type example?
What is slash r?
What do you understand by the term singleton?