How will you initialize an Applet ?
You can initialize your applet using the init() method.Reply
What is the difference between Process and Threads ?
A process is a program in execution, whereas a
single process can contains multiple threads. The
key difference is that processes are fully
isolated from each other whereas threads share
(heap) memory with other threads running in the
same application. Threads share the address space
of the process that created it; processes have
their own address.
What is the difference between C++ & Java ?
Difference between java and C++ :
* C evolved into C++, and C++ transmuted into Java.
* Java is the language of the Internet whereas
C++ was designed mainly for systems programming,
* Java supports object-oriented programming,
same way as C++.
* Java does not support operator overloading.
* Java does not include a preprocessor or
support the preprocessor directives.
* Java does not support multiple inheritance.
* Java does not support destructors, but rather,
add the finalize() function.
* Java does not support templates.
* Java does not support pointers.Reply
What are the classes you used in Beans ?
Classes that are available in java.beans package :
What are the interfaces you used in Beans ?
The Serializable interace is used in Beans.Reply
What is the use of beaninfo ?
BeanInfo classes provides a high degree of
control over how a bean appears and behaves at
design time. BeanInfo classes are design-
time-only classes.If a bean implementor wants to
provide information regarding methods, properties
when they can provide a bean info class by
implementing BeanInfo interface and provide
information regarding the bean properties,methods
What is two properties in Beans ?
A javaBean property has the two methods:
* getProperty() Reply
What is mean by manifest files ?
The manifest file is named MANIFEST.MF. In Java ,
a manifest file is a specific file contained
within a JAR file. It is a meta data file that
contains name-value pairs organized in different
sections. If a JAR file is intended to be used as
an executable file, the manifest file specifies
the main class of the application.
What is JAR file ?
JAR file is a file format based on the popular
ZIP file format and is used for aggregating many
files into one. A JAR file is essentially a zip
file that contains an optional META-INF
directory. A JAR file can be created by the
command-line jar tool, or by using the
java.util.jar API in the Java platform. JAR file
format enables you to bundle multiple files into
a single archive file.
What is mean by JFC ?
The JFC(Java Foundation classes) tells you how
to create graphical user interfaces (GUIs) for
applications and applets, using the Swing
components. The Java Foundation Classes (JFC)
are a graphical framework for building portable
Java-based graphical user interfaces (GUIs).
JFC consists of the Abstract Window Toolkit
(AWT), Swing and Java 2D.