Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

ADVANCE JAVA

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

Which are valid declarations? (Choose all that apply.)

a)

int $x

b)

int 123

c)

int _123

d)

int #dim

e)

int central_sales_region_Summer_2005_gross_sales

2.

___________ methods does not contain any body

a)

abstract

b)

final

c)

static

d)

none

3.

_________________ methods cannot be over ridden

a)

abstract

b)

final

c)

constant

d)

None

4.

What are valid keywords

a)

Null

b)

True

c)

Implements

d)

interface

e)

instanceof

5.

What is the body of a Thread

a)

Run

b)

Begin

c)

Execute

d)

Start

e)

Resume

6.

Connection interface is implemented by

a)

the database

b)

the database driver

c)

the programmer of the jdbc application

d)

None

7.

Java is divided into two parts _______________.

a)

Java Compiler and Java Virtual Machine (JVM)

b)

Java Development Kit (JDK) and Java Runtime Environment (JRE)

c)

Core Java (J2SE) and Advanced Java (JEE)

d)

JRE and Java Virtual Machine

8.

Advance java is _____________ language.

a)

Smart appliances

b)

Java programming

c)

Platform including

d)

Several reason

9.

It is an advanced technology or advance version of Java specially designed to develop _________________ applications.

a)

web-design, network connected or enterprise

b)

web-based, network-centric or enterprise

c)

matrixed, network-centric or spectrum

d)

web developed, network based or sector

10.

All the applications that runs on___________ can be considered as advance Java.

a)

Sector

b)

Services

c)

Server

d)

Servelet

11.

JEE stands for _______________.

a)

Java Enterprise Edition

b)

Java Encode Edition

c)

Java Expert Edition

d)

Java Ended Edition

12.

JDBC stands for ___________.

a)

Java Disaster Connectivity

b)

Java Database Connectivity

c)

Java Data Connection

d)

Java Design Connectivity

13.

Servlet technology is used to create ____________.

a)

web applications

b)

database applications

c)

servelet applications

d)

java applications

14.

____________ used to handle the request obtained from the web server.

a)

sector

b)

servlets

c)

services

d)

database

15.

JSP stands for __________.

a)

Java Server Page

b)

Java Second Page

c)

Java Service Page

d)

Java Spring Page

16.

This provides the application-to-JDBC Manager connection

a)

JDBC Driver API

b)

JDBC API

17.

These objects hold data retrieved from a database after you execute an SQL query

a)

Statement

b)

DataSet

c)

Connection

d)

ResultSet

18.

This method is used to extract data from result set

a)

next()

b)

getString()

19.

Type-1 driver uses ----------------- to connect to the database

a)

ODB

b)

ODBC

c)

DBA

20.

Oracle does not support the JDBC-ODBC Bridge from ----------------

a)

Java 7

b)

Java 8

c)

Java 4

d)

Java 6