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
Can we create a class inside a class in java?
What do you mean by singleton class in java?
What is double data type?
What is the difference between variable declaration and variable initialization?
Which is the class in java?
Define how can we find the actual size of an object on the heap?
Which collections are thread safe in java?
What is arraylist class in java?
How can the checkbox class be used to create a radio button?
What happens if constructor is private?
Can we call thread start () twice?
What is the default size of set in java?
How many types of memory areas are allocated by jvm?
What is stringbuffer in java?
What is finalize()?