
Javaquiz

Quiz
•
Computers
•
Professional Development
•
Hard

Mukesh Otwani
Used 11+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following is not a Java feature?
Object-oriented
Use of pointers
Portable
Dynamic and Extensible
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the extension of byte code files?
.java
.class
.byte
.js
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The Output of below code
int a=10;
int b=a++;
System.out.println(b);
10
11
12
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The Output of below code
int a=10;
int b=++a;
System.out.println(b);
10
11
12
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Output of the below statement
public static void main(String[] args) {
int x=5;
{
int y = 6;
System.out.print(x + " " + y);
}
System.out.println(x + " " + y);
}
Runtime error
Compilation error
5656
565
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Output of the below code
class Box{
int width;
int height;
int length;
}
public class Day1 {
public static void main(String[] args) {
Box obj = new Box();
obj.width = 10;
obj.height = 2;
obj.length = 10;
int y = obj.width * obj.height *obj.length;
System.out.print(y);
}
400
100
200
Runtime Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these keywords is used to define interfaces in Java?
interface
Interface
InterFace
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
Java Basics

Quiz
•
Professional Development
10 questions
MATERIAL DIDACTICO - TEST JAVA- KHIPU

Quiz
•
Professional Development
11 questions
Java Fundamentals

Quiz
•
Professional Development
11 questions
JavaScript

Quiz
•
Professional Development
20 questions
QUIZ-5 static, String and StringBuffer

Quiz
•
Professional Development
15 questions
FORMATIVE ASSESSMENT 2 OOPS

Quiz
•
Professional Development
10 questions
Web Development Workshop

Quiz
•
University - Professi...
10 questions
IT A OOPs Lab Quiz1

Quiz
•
Professional Development
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade