Answer Posted / pooja
a package is nothing but a folder in which there are a
collection of classes and interfaces.
of course it is a folder , a folder which is created
explicitly is not a package .
the keyword used for creation of package is "package"
syntax:package <package_name>;
compilation syntax:javac -d path file_name.java;
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a variable declaration?
When a byte datatype is used?
Write a program in java to establish a connection between client and server?
What is api in java?
What are selection structures?
Mention a package that is used for linked list class in java.
What are different types of encoding?
What is hashmap and map?
How do you use equal in java?
What is singleton service?
What about main thread in java?
What is formatted output in java?
What is skeleton and stub? What is the purpose of those?
Explain the importance of throws keyword in java?
Is it possible to use Semaphore/ Mutex in an Interrupt Handler?