WorksheetsJava Programming
Total questions: 11
Worksheet time: 6mins
Name
Class
Date
1.
Java is ___________.
a)
Structured Programming Language
b)
Object Oriented Programming Language
c)
Query Language
d)
None of the above
2.
What will be the output?
a)
24
b)
32
c)
23
d)
31
3.
Java has (a) primitive data types.
4.
________ keyword is used to monitor an exception.
a)
try
b)
catch
c)
throw
d)
throws
5.
Java was developed by
a)
James gosling
b)
John gosling
c)
James frank
d)
John frank
6.
JDK stands for (a)
7.
Which one of the following is escape sequences?
a)
\r
b)
\n
c)
\f
d)
\t
8.
Java is
a)
Simple
b)
Object Oriented
c)
Platform dependent
d)
interpreted
9.
a)
a
b)
b
c)
c
d)
d
10.
Java does not support
a)
Single Inheritance
b)
Multiple Inheritance
c)
Multilevel Inheritance
d)
Hierarchical Inheritance
11.
List out oops concept.
4 lines
100 %
