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
Is it possible to compare various strings with the help of == operator?
How does indexof work?
Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?
What is hash table in java?
Write a function to print Fibonacci series and Tribonacci series?
Can we assign the reference to this variable?
What is t in parametric equations?
When should I use stringbuffer?
How do I get 64 bit java?
Is linkedlist thread safe in java?
How can we find the actual size of an object on the heap?
What is the size of int in 64-bit jvm?
What happens if a constructor is declared private?
What are the uses of java?
Why do we need data serialization?