Can we define package statement after import statement in java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Can you sort a string in java?

0 Answers  


Can a class be a super class and a sub-class at the same time? Give example.

1 Answers  


What is the multi-catch block in java?

0 Answers  


Explain break statement and continue statement?

3 Answers  


Is a string literal?

0 Answers  


Explain access specifiers?

0 Answers   Thomson Reuters, Virtusa,


How java is platform independent?

41 Answers   College School Exams Tests, Infosys, TCS,


I want to run a simple hello world java (HelloWorld.java) program using a batch file. How can i run it and how to construct a batch file.

1 Answers   Infosys,


What are the steps that are followed when two computers connect through tcp?

0 Answers  


Is space a string in java?

1 Answers  


Why string is not thread safe?

0 Answers  


What is OOPS Concept?

1 Answers   Cap Gemini,


Categories