Question
How to create package in Java

Answers

If you are using IDE like Eclipse for developing your Java program than you don't need to do anything. Just click on new-->package and Eclipse will ask you name of the package, put name of the package and you are done. Now if you want to create Java class on that package, just select the package in package explorer and create new-->Java Class. If you are not using any IDE than you manually need to create directories corresponding to package in Java.   Your Comment




More Software,Java Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?



Search
Can you Answer!!
  • Q Explain briefly the flag register in the 8085 microprocessor.?
  • Q To create a change request, what role should be assigned?
  • Q Describe three of your weaknesses as a teacher.
  • Q Have you created any transactions?
  • Q What is sensitivity training?
  • Q Explain few examples of RDBMS?
  • Q The name of Pierre Cardin is associated with which fields
  • Q Who would you want to play you in a movie of your life?
  • Q What is the importance of models in communication? Briefly describe the Harold Laswell’s model.
  • Q What is the name of the character played by Angela Lansbury in 'Murder, She Wrote' ?
  • Q Which gas comes out during photosynthesis?