What software did you have to properly download and install for this class?
Java and Ant
Eclipse
Java and Eclipse
Java
What two data structures that were discussed involving lists?
None
Arrays and List
Stacks and Array
Stacks and Queues
How are items inserted and removed from a Stack?
FILO
FIFO
FIWO
FIYI
How are items inserted and removed from a Queue?
FILO
FIFO
FIFI
None
What is the difference between a Class and a Object?
A Class has a limited lifespan and an Object doesn't.
There is no difference.
A class is Static, and an Object has a limited lifespan.
A class can be changed, but an object cannot.
What is the best way to determine the difference between a class and a method?
A Class is a Noun, and a method is a Verb.
A Class can be instatiated, and a method can't.
A method is inside a class.
A method can be set to public or private, but a class can not.
What is the difference between an int primative datatype and an Integer object?
The variable int doesn't exist.
The data in an int can't be changed.
An int is a single digit number, and an Integer is multiple digits.
An int doesn't have any methods that can be called, but an Integer is an object that does contain methods.
What is a public modifier?
Only the current class can access it.
Every other class can access it.
Only classes in the package can access it.
Only the method with the same name as the variable can access it.
Why should you set a variable as private?
To prevent other classes from accessing the variable directly.
To prevent classes in the same package to access it.
Private doesn't do anything.
There is no such thing as a private modifier.
What is the purpose of a protected modifier?
To allow no classes to have access to the variable.
To allow all classes to have access to the variable.
To allow only the class to have access to the variable.
To allow only the class, package and subclass to have access to the variable.
What is the purpose of having a main method?
This is where the project will start.
This is a method that will be called from another class.
There is no need for a main method.
None of the above.
What does this do: List
queue=new ArrayList();
Creates a list of Queues.
Instantiates a List that can contain only Strings.
Creates a list that can contain any objects.
Creates a class that can contain only Strings.
What is the purpose of an Ant Script?
No choices are listed here.
To create a jar file.
To execute your main method.
To execute tasks which might include compiling and running your project.
What does this do in your ant script?
Creates a variable that can access your environmental variables from your computer.
Access the home of your project.
It doesn't do anything.
It creates memory to run your ant script in.
What are the two ways that I demonstrated to run your main method?
Having eclipse run it by selecting on the class that contains the main method or using the ant script.
Have eclipse run it or run it from the command prompt.
Have the ant script run it or run it from the command prompt.
I only showed you one way to run your main method.