Answer Posted / puneet
package is just a namespace under which the
classes,interfaces are kept and they on the filesystem where
the application is running are just a folder and maintains
the files anf folders and help us to implement the
inheritance stuff and you can have 2 files with the same
name in two different packages which should clash, you can
call the class with full name packagage1.classname
Note Web-inf folders,Lib folders are not packages.
java.lang, java.util,java.io;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the base class of all exception classes in java?
What is string english?
How do I find and replace in word?
What is thread safe java?
What does n mean?
Can a class be declared as static?
What is initial size of arraylist in java?
Which package is always imported by default?
What is namespace in java?
What happens if we override only equals?
what is the difference between future and callable interface in java?
What is a super method?
Why collection doesn’t extend cloneable and serializable interfaces?
What is the difference between I ++ and ++ I in java?
What is final, finally, finalize?