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 java uses the string and stringbuffer classes?

0 Answers  


Explain how to force the garbage collection in java.

0 Answers  


Are true and false keywords?

0 Answers  


What are access specifiers in java ?

0 Answers   Akamai Technologies,


Can we override constructors?

0 Answers  






What is a method signature java?

0 Answers  


When will you define a method as static?

0 Answers  


What error occurs if a try-catch-finally statement sequence does not have a catch clause?

4 Answers  


What are different types of expressions?

0 Answers  


Can a list be null in java?

0 Answers  


how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application

0 Answers   SAP Labs,


why do we use interface in java?

5 Answers  


Categories