YOU CAN DOWNLOAD 200+ SUBJECTS PDF BOOK FOR COMPETITIVE EXAMINATIONS
Programming with Java
Question 1 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
Which one of the following is NOT a logical operator?
|| | |
&& | |
$$ | |
! |
Question 2 [CLICK ON ANY CHOICE TO KNOW THE 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.
Aggregation | |
Encapsulation | |
Inheritance | |
Polymorphism |
Question 3 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
The while loop is this type of loop.
pretest | |
posttest | |
prefix | |
postfix |
Question 4 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
..... interface handles the communications with the database server
DriverManager | |
Driver | |
Statement | |
None of these |
Question 5 [CLICK ON ANY CHOICE TO KNOW THE 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.
Java(TM) Enterprise API | |
Java Studio(TM) | |
Java(TM) | |
drop |
Question 6 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
Who developed the C programming language?
Bjarne Stroustrup | |
James Gosling | |
Dennis Ritchie | |
Ray Boyce |
Question 7 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
A Java statement is one or more lines of code terminated by a semicolon. True or False?
False | |
True |
Question 8 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
Class Cat extends Animal. Which is NOT a valid declaration?
Cat x = new Cat(); | |
Animal X = new Animal(); | |
Cat x = new Animal(); | |
Animal x = new Cat(); |
Question 9 [CLICK ON ANY CHOICE TO KNOW THE 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] );
34 88 0 | |
34 88 88 | |
The program is defective and will not compile | |
0 34 88 |
Question 10 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |
Developing a solution is where you:
Check if the solution worked. | |
Write the steps to solving the problem. | |
Understand the problem |
There are 10 questions to complete.