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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the syntax and characteristics of a lambda expression? Explain

539


What is the difference between Error, defect,fault, failure and mistake?

656


What is Java Annotations?

555


What are the differences between the constructors and methods?

573


Define jre i.e. Java runtime environment?

572






What are constructors in java?

564


What is singleton pattern?

552


what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread

559


What is thread safe singleton?

515


List out benefits of object oriented programming language?

481


Difference between final and effectively final ?

632


What is the collections api?

568


What are the steps involved to create a bean?

677


What types of index data structures can you have in java?

612


What are the steps involved to write rmi based programs?

562