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
How is treeset implemented in java?
Can sleep() method causes another thread to sleep?
What are the access modifiers in java?
What is the exact difference in between Unicast and Multicast object?
How do you replace all in word?
What is native method in java?
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an
What are data types in oop?
What is threaded programming and when is it used? : Java thread
Do you know why doesn't the java library use a randomized version of quicksort?
Why we use multi threading instead of multiprocessing?
Define jit compiler?
What is return type in java?
What is indexof?
What is difference between checked and unchecked exception in java?