Free WebSchools.com

Google



Submit ArticleForumsLive chat WebhostingSEO ToolsLink TO UsResources


HOME

HTML Test
PHP Test
JSP Test

Java Test
ASP Test
XML Test
XHTML Test
MYSQL Test


Test your knowledge in java

Java development began at SUN Microsystem in
1991
1992
1993

The java compiler compiles the source file into _____ which are then interpreted by the JVM
Java class files
Java interprete files
all java files

Java application can be embedded in an HTML pages.
YES
NO

In Java user has no direct access to memory. there are no pointers and memory allocation.
True
False

Datatypes in java are strictlydefined defined with respect to their
Size
Structure
usage
casting
all the above

______________ are used to build expression and include releational assignement,logical and arithmetic operators
operators
Declaration
expression

multidimensional arrays are not supported by java
True
False

_____________ is a collection of data and methods
classes
methods
data

____________ is a process of categorizing data
Abstraction
encapsulation
Inheritance

_________ is a feature of OOP thas allows the data and methods to be bound together.
Abstraction
encapsulation
Inheritance

__________ is involves new classes from existing one
Abstraction
encapsulation
Inheritance

Name of the constructor is the same as class
true
false

The abstract modifies can be applied to classes and methods.
true
false

______ are groups of releated classes and interface
Abstraction
Packages
Java Beans

___ is the default pacakage whose classes are automatically imported into a compilation unit
java.lang
java.util
java.awt

_____ package provides and interface that supported collection API.data/calender,operators,parsing and basic event processing
java.util
java.lang
java.awt

__________statement is used to handle exceptions followed by one or more associated catch blocks
try
catch
both

The code in the try blcok may throw multiple types of exception.
True
False

Applet can be embeded in HTML Tags
True
False

Parameter can be passed to applet to provide inputs from the HTML file by using the _________ tag
<applet>
<param>
<applet code="value">

_____________pacakages contains classes for font,color,graphics and image
java.lang
java.util
java.awt

__________________ is a single independent path of execution within a program
Thread
Applet
Struts

The process of deciding which thread to run is called ________
Thread sheduling
Thread Priority
Thread running

___________ is a technique of creating an illusion of movement by repeating a set of frames in quick succession ata high speed
Animation
Thread
Applet

__________event methods takes the event type and location as parameter
mouse
keyboard
item

_______ event mathods takes the event type and key pressed as parameter
keyboard
keyword
item

_______________represents a users interaction with a program
event
thread
applet

_____________ is a continous flow of bytes
bits
stream
event

______ class encapsulate useful attributes and methods pertaing to files and directories which can be referred to using an absolute or relative path.
file
stream
objects

________class is an extension of the AWT frame class
JFrame
JmenuBar
JInternalFrame

The JLabel class extends_________
Jcomponent
JFrame
JTextField

__________layer allows the developer to make calls to the database via SQL and retrive teh results.
Application layer
Driver layer
datasource layer

_______________layer handles communication with a specific driver implementation.
Application layer
Driver layer
datasource layer

Java has a built in support for network programming
True
False





_______________is a software interface that connect an application to teh network.
Server
socket
TCP/IP

_____________________ is a set of communication protocols for communicating between diffrenet types of mechanism and network.
Server
socket
TCP/IP

RMI stands for


By writing programs using JNI you ensure taht your code is completely portable across all platform
YES
NO

_________________is a java version of the component based software development
JavaBean
RMI
JSP

A bean obtains all the benfits of java's write once,run anywhere pardigm
True
False

To run servlet you need a webserver that supports the servlet API
YES
NO



Inform Friend About This Site

Your Name:

Friend's Name:

Friend's Email: