Latest answer: Java methods are virtual by default. The virtual
methods are the methods of subclasses. They are invoked by a reference of their
super class...................
Read answer
Latest answer: When a class implements an interface, it has to
implement the methods defined inside that interface. This is enforced at build
time by the compiler..........................
Read
answer
Latest answer: A concrete class has concrete methods, i.e.,
with code and other functionality. This class a may extend an abstract class or
implements an interface....................
Read
answer
Latest answer: The Cloneable should be implemented.
clone( ) should be overridden in which super.clone( ) is
called...................
Read
answer
Latest answer: The <Applet> tag has the following
attributes:
Code: To specify the .class
Width: To indicate the width of the applet
window at first time loading.
Height: To indicate the height of the applet
window at first time loading..................
Read answer
Latest answer: An applet class file may present in any of the
folder. The .class file name along with its current path( in which this .html
file is placed) is to be specified in the code attribute of <Applet>
tag.................
Read
answer
Go
top
Latest answer: To refresh a page in an applet window without
flashing, the update() method is to be overridden. It clears the background of
the component, before invoking paint()..................
Read answer
Latest answer: Java interacts with database using an API called
Java Database Connectivity. JDBC is used to connect to the database, regardless
the name of the database management software. Hence , we can say the JDBC is a
cross-platform API..................
Read answer
Latest answer: SQL Exception is associated with a failure of a
SQL statement. This exception can be handled like an ordinary exception in a
catch block..................
Read answer
Latest answer: DatabaseMetaData provides comprehensive
information about the database. This interface is implemented by the driver
vendors to allow the user to obtain information about the tables of a
relational database as a part of JDBC application...................
Read answer
Latest answer: ResultSetMetaData is a class which provides
information about a result set that is returned by an executeQuery()
method..................
Read answer
Latest answer: A CacheRowSet object is a container for rows,
that ‘caches’ the rows in the memory..................
Read
answer
Latest answer: A lock is a preventive software mechanism that
other users can not use the data resource..................
Read
answer
Go
top
Latest answer: All the objects which are the instances of the
sub class Observable, maintains a list of observers..................
Read answer
Latest answer: Synchronization is the process of allowing
threads to execute one after another..................
Read answer
Latest answer: Preemptive scheduling enables the highest
priority task execution until waiting or dead states entered. It also executes,
until a higher priority task enters..................
Read answer
Latest answer: A task’s priority is an integer value. This
value is used to identify the relative order of execution with respect to other
tasks..................
Read answer
Latest answer: A single ampersand is used to perform ‘bit-wise
AND’ operation on integer arguments..................
Read
answer
Latest answer: Event-delegation model has two advantages over
event-inheritance model..................
Read
answer
Go
top
Latest answer: The wait() method makes the thread to halt, thus
allowing other thread to perform..................
Read answer
Latest answer: An event-listener interface allows describing
the methods which must be implemented by one of the event handler for a
specific event..................
Read answer
Latest answer: An event-listener interface allows describing
the methods which must be implemented by one of the event handler for a
specific event..................
Read answer
Latest answer: The OS based file system services such as
creating folders, files, verifying the permissions, changing file names etc.,
are provided by the java.io.File class..................
Read answer
Latest answer: Synchronized methods are utilized to control the
access to an object especially in multi threaded programming..................
Read answer
Latest answer: The classes are available to the JVM and are
referenced by the name. After JVM starts, it introduces the classes into
it..................
Read answer
Latest answer: An abstract has one or more abstract methods
apart from concrete methods. All the abstract methods must be overridden by its
subclasses..................
Read
answer
Go
top
Latest answer: Differences between ArrayList and
Vector:.................
Read answer
Latest answer: A collection is a set of heterogeneous objects.
A framework makes the applications efficient, less hard coded, similar
implementation for various.................
Read
answer
Latest answer: Shallow cloning just allows cloning the object
but not their internal parts..................
Read
answer
Latest answer: final – a key word / access modifier to define
constants..................
Read
answer
Latest answer: The conversion of a given expression from one
type to another type is referred as ‘type casting’..................
Read
answer
Latest answer: There are 4 types of inner classes - Member
inner class, Local inner class, Static inner class and Anonymous inner
class.................
Read answer
Latest answer: As the size of a project grows larger, the
manageability of the files in it becomes tedious.
Read answer
..............