Java Basics Quiz 3 - Java Basics Question and Answers | JAVA Test
Finish Quiz
0 of 20 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
Information
Let’s Play with our Java Basics Test Quiz 3 and test your basic Java Fundamentals. By using below Free Java Basics Quiz you may test your study yourself. Java Basics Test Quiz 3 Question and Answers 2019. Java online Test Quiz 3. Java Basics Quiz 3 Free Mock Test 2019. Java Basics Test Quiz 3 Question and Answers in PDF. The Java online mock test paper is free for all students. Java Basics Test is very useful for exam preparation and getting for Rank. Java Basics Test Quiz 3 Question and Answers in English. Java Basics Mock test for topic via Basics Mode. Here we are providing Java Basics Mock Test in English Now Test your self for “Java Basics Test in English” Exam by using below quiz…
This paper has 20 questions.
Time allowed is 25 minutes.
The Java Basics Mock Test is Very helpful for all students. Now Scroll down below n click on “Start Quiz” or “Start Test” and Test yourself.
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 20 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
Pos. | Name | Entered on | Points | Result |
---|---|---|---|---|
Table is loading | ||||
No data available | ||||
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- Answered
- Review
-
Question 1 of 20
1. Question
There is labled and enhanced for loop in java
Correct
Incorrect
-
Question 2 of 20
2. Question
There is no structure and union in java
Correct
Incorrect
-
Question 3 of 20
3. Question
Abstraction hides complexity
Correct
Incorrect
-
Question 4 of 20
4. Question
which of the following classes are available in the java.lang package?
Correct
Incorrect
-
Question 5 of 20
5. Question
Which programming language is considered the first object-oriented programming language?
Correct
Incorrect
-
Question 6 of 20
6. Question
Who is known as the founder of java
Correct
Incorrect
-
Question 7 of 20
7. Question
We can provide explicit security by
Correct
Incorrect
-
Question 8 of 20
8. Question
System.out.println(12>>2); What is the output
Correct
Incorrect
-
Question 9 of 20
9. Question
We can have any number of classes in a java source file.
Correct
Incorrect
-
Question 10 of 20
10. Question
Java is an acronym
Correct
Incorrect
-
Question 11 of 20
11. Question
Which methods can access to private attributes of a class?
Correct
Incorrect
-
Question 12 of 20
12. Question
Which of these are not legal identifiers. Select the four correct answers.
a. 1alpha
b. _abcd
c. xy+abc
d. transient
e. account-num
f. very_long_nameCorrect
Incorrect
-
Question 13 of 20
13. Question
Is the following statement true or false. The constructor of a class must not have a return type.
Correct
Incorrect
-
Question 14 of 20
14. Question
What is an aggregate object?
Correct
Incorrect
-
Question 15 of 20
15. Question
Which of the following are keywords in Java. Select the two correct answers.
a. friend
b. NULL
c. implement
d. synchronized
e. throwsCorrect
Incorrect
-
Question 16 of 20
16. Question
What gets printed when the following program is compiled and run? Select the one correct answer.
class test {
public static void main(String args[]) {
int i;
do {
i++;
}
while(i System.out.println(i);
}
}Correct
Local variables are not initialized by default. They must be initialized before they are used.
Incorrect
Local variables are not initialized by default. They must be initialized before they are used.
-
Question 17 of 20
17. Question
Which of these are interfaces in the collection framework. Select the two correct answers.
a. Set
b. List
c. Array
d. Vector
e. LinkedListCorrect
Incorrect
-
Question 18 of 20
18. Question
Which of the following are legal declaration and definition of a method. Select all correct answers.
a. void method() {};
b. void method(void) {};
c. method() {};
d. method(void) {};
e. void method {};Correct
Incorrect
-
Question 19 of 20
19. Question
What happens when the following code is compiled and run. Select the one correct answer.
for(int i = 1; i for(int j = 3; j >= 1; j–)
assert i!=j : i;Correct
When i and j are both 1, assert condition is false, and AssertionError gets generated.
Incorrect
When i and j are both 1, assert condition is false, and AssertionError gets generated.
-
Question 20 of 20
20. Question
Which of the assignment are not valid.
Correct
Incorrect