What are the standards to place package statement within a
source code file?



What are the standards to place package statement within a source code file?..

Answer / ravikiran

it must be the first statement and ended with a semicolon
and should be only one

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

how to use crystal reports in java

2 Answers  


What do you mean by Remote procedure call?

2 Answers  


Catch(Exception e){ } in that what is Exception and purpose of that in that place exactly?

3 Answers  


What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?

0 Answers   Bravura Solutions,


In case of inheritance what is the execution order of constructor and destructor?

0 Answers   Agilent,


When to use runnable interface vs thread class in java?

0 Answers  


What is meant by tab pans?

0 Answers  


What is static and a non-static inner class?

3 Answers  


Explain the importance of join() method in thread class?

0 Answers  


Is java hashset ordered?

0 Answers  


How will you reverse a singly-link list?

0 Answers   Akamai Technologies,


Can an abstract class be final?

10 Answers  


Categories