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

Can we use synchronized block for primitives?

0 Answers  


How to instantiate static nested classes in java?

0 Answers  


where lives in jvm

5 Answers  


Where and how can you use a private constructor?

0 Answers  


How many types of operators are there?

0 Answers  






What is basic concept of static in java ?

1 Answers   iGate,


What is “try and catch” in java

2 Answers  


What is stringwriter?

0 Answers  


whays is mean by inner class?

4 Answers   HCL, IBM, TCS,


What is bean? Where it can be used?

0 Answers  


Why we need to serialize the object

11 Answers   CTS, Geometric Software,


Explain about class in java?

0 Answers  


Categories