Programming with Java

DOWNLOAD FREE PDF <<CLICK HERE>>

Programming with Java

Congratulations - you have completed Programming with Java.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 1 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Which one of the following is NOT a logical operator?
A
||
B
&&
C
$$
D
!
Question 2 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
.....means that a programmer can use a class, along with its methods and data, to create a subclass, which saves time and coding.

A
Aggregation
B
Encapsulation
C
Inheritance
D
Polymorphism
Question 3 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
The while loop is this type of loop.

A
pretest
B
posttest
C
prefix
D
postfix
Question 4 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
..... interface handles the communications with the database server

A
DriverManager
B
Driver
C
Statement
D
None of these
Question 5 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
This API makes it easy to create large-scale commercial and database applications that can share multimedia data with other applications within an organization or across the Internet. Four APIs have been designed within the Java(TM) Enterprise API family.
A
Java(TM) Enterprise API
B
Java Studio(TM)
C
Java(TM)
D
drop
Question 6 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Who developed the C programming language?

A
Bjarne Stroustrup
B
James Gosling
C
Dennis Ritchie
D
Ray Boyce
Question 7 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
A Java statement is one or more lines of code terminated by a semicolon. True or False?

A
False
B
True
Question 8 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Class Cat extends Animal. Which is NOT a valid declaration?

A
Cat x = new Cat();
B
Animal X = new Animal();
C
Cat x = new Animal();
D
Animal x = new Cat();
Question 9 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
What is the output of the following code fragment:


int[] y = new int[5];


y[0] = 34;

y[1] = 88;


System.out.println( y[0] + " " + y[1] + " " + y[5] );

A
34 88 0
B
34 88 88
C
The program is defective and will not compile
D
0 34 88
Question 10 [CLICK ON ANY CHOICE TO KNOW MCQ multiple objective type questions RIGHT ANSWER]
Developing a solution is where you:

A
Check if the solution worked.
B
Write the steps to solving the problem.
C
Understand the problem
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 10 questions to complete.

DOWNLOAD FREE PDF <<CLICK HERE>>