Question: JAVA can you also provide me an example code for every question just a small code 1. What does the import statement do in Java?

JAVA can you also provide me an example code for every question just a small code

1. What does the import statement do in Java? Give an example of an import statement and describe what it is used for. What do you need to import to use a scanner object?

2.What is a class? What does it mean by the phrase "a class is a blueprint"? Describe how to use the class to create an object. Describe how to use a class without instantiating new objects. Use pseudocode to show the creation of an object.

3.What is the "is a" test that we described in class? How does this test relate to inheritance? How does this relate to general classes and specific classes?

4. What does an ArrayList give us that a simple array does not? Explain the use of an ArrayList. What is an ArrayList an example of?

5 Describe what a demo or test program is used for and why we need such a program. Give a pseudocode example of such a program.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!