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
What is string buffer?
How do singleton patterns work?
Is boolean a wrapper class in java?
What java is used for?
Write java program to reverse string without using api?
Which keyword specify that a variable is effectively final ?
What are the core java topics?
Explain different forms of polymorphism?
What is string syntax?
What is a ?
What is the use of pattern in java?
What is pass by value?
Are arrays primitive data types?
What is constructor chaining and how is it achieved in java?
what is use of functional interface in java 8?