WizIQ helps you learn and teach online - any subject you can think of!
Join for FREE

Beginning Java with Eclipse and Ant Part 1 online Test

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.











































































Description:

This test will complete the class Beginning Java with Eclipse by Greg Dias. If you pass this test, you should be able to move onto the next section.

Tags:

Java  Eclipse  Ant  Build

Comments
laxman
By: laxman
488 days 15 hours ago

some answers r wrong

Ajay Kuamr
By: Ajay Kuamr
390 days 22 hours 16 minutes ago

answers on stack and ques are wrong..!!!

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no.:


Area code Number
Subject you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
1 Member Recommends
9 Followers

Your Facebook Friends on WizIQ

More Tests By Author

HTML with Javascript
20 Questions | 701 Attempts

Beginning Java with BlueJay
20 Questions | 777 Attempts

Explore Similar Courses

Develop Android Apps with Java

Price:$295
$10

SAVE 96%

JavaServer Faces Primer

Price:$300
$200

SAVE 33%