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
Is nullpointerexception checked or unchecked?
What is java developer skills?
Can a final variable be manipulated in java?
What is indexof?
How many bits is a boolean?
Is string passed by reference in java?
Can you extend singleton class?
Is ruby built on java?
What are the drawbacks for singleton class?
Why does java does not support multiple inheritance? Explain
What is main function purpose?
Explain scope or life time of local variables in java?
How do listeners work?
What do you mean by Hash Map and Hash Table?
What is locale in java?