Sunday, 26 October 2008
Important Java Interview Questions and Answers(faqs)
- Java interviews 2
- Java interviews 3
- Java interviews 4
- Java interviews 5
- Java interviews 6
- Java interviews 7
- Java interviews 8
- Java interviews 9
- Java interviews 10
- Java interviews 11
- Java interviews 12
- Java interviews 13
- Java interviews 14
- Java interviews 15
- Java interviews 16
- Java interviews 17
- Java interviews 18
- Java interviews 19
- Java interviews 20
- Java interviews 21
- Java interviews 22
- Java interviews 23
- Java interviews 24
- Java interviews 25
Monday, 13 October 2008
J2SE Interview Questions and Answers 7 faqs
What is int ?
A Java keyword used to define a variable of type integer.
What is interface ?
A Java keyword used to define a collection of method definitions and constant values. It can later be implemented by classes that define this interface with the "implements" keyword.
What is Internet ?
An enormous network consisting of literally millions of hosts from many organizations and countries around the world. It is physically put together from many smaller networks and data travels by a common set of protocols.
What is IP ?
Internet Protocol. The basic protocol of the Internet. It enables the unreliable delivery of individual packets from one host to another. It makes no guarantees about whether or not the packet will be delivered, how long it will take, or if multiple packets will arrive in the order they were sent. Protocols built on top of this add the notions of connection and reliability. See also TCP/IP.
What is interpreter ?
A module that alternately decodes and executes every statement in some body of code. The Java interpreter decodes and executes bytecode for the Java virtual machine1. See also compiler, runtime system.
What is JAIN ?
See: Java APIs for Integrated Networks (JAIN)
What is JAR ?
JAR (Java Archive) is a platform-independent file format that aggregates many files into one. Multiple applets written in the Java programming language, and their requisite components (.class files, images, sounds and other resource files) can be bundled in a JAR file and subsequently downloaded to a browser in a single HTTP transaction. It also supports file compression and digital signatures.
What is Java ?
A set of technologies for creating and safely running software programs in both stand-alone and networked environments.
What is Java 2 Platform ?
The second generation of the Java platform. (The first generation was the JDK.) Also see "Java Platform" and "Java Platform Editions".
What is Java 2 SDK, Standard Edition ?
The Software Development Kit (SDK) is development environment for building applications, applets, and components using the Java programming language. This SDK provides a reference implementation of the J2SE platform.
What is Java APIs for Integrated Networks (JAIN) ?
enables the rapid development of Next Generation telecom products and services on the Java platform.
What is Java Card API ?
An ISO 7816-4 compliant application environment focused on smart cards.
What is Java Compatibility Kit (JCK) ?
A test suite, a set of tools, and other requirements used to certify a Java platform implementation conformant both to the applicable Java platform specifications and to Java Software reference implementations.
What is Java Database Connectivity (JDBC) ?
An industry standard for database-independent connectivity between the Java platform and a wide range of databases. The JDBC provides a call-level API for SQL-based database access.
What is Java Development Kit (JDK) ?
A software development environment for writing applets and applications in the Java programming language. Technically, the JDK is the correct name for all versions of the Java platform from 1.0 to 1.1.x.
What is Java Foundation Classes (JFC) ?
An extension that adds graphical user interface class libraries to the Abstract Windowing Toolkit (AWT)
Sunday, 12 October 2008
J2SE Interview Questions and Answers 8(faqs)
What is Java IDL ?
Java Interface Definition Language
What is Java Interface Definition Language (IDL) ?
A set of Java APIs that provide CORBA (Common Object Request Broker Architecture) interoperability and connectivity capabilities for the J2EE platform. These capabilities enable J2EE applications to invoke operations on remote network services using the OMG IDL and IIOP.
What is Java Media APIs ?
A set of APIs that support the integration of audio and video clips, 2D fonts, graphics, and images as well as 3D models and telephony.
What is Java Media Framework ?
The core framework supports clocks for synchronizing between different media (e.g., audio and video output). The standard extension framework allows users to do full audio and video streaming.
What is Java Naming and Directory Interface (JNDI) ?
A set of APIs that assists with the interfacing to multiple naming and directory services.
What is Java Native Interface ?
A standard programming interface for writing Java native methods and embedding the JVM into native applications. The primary goal is binary compatibility of native method libraries across all JVM implementations on a given platform.
What is Java Platform ?
Consists of class libraries, a Java virtual machine (JVM) and class loader (which comprise the runtime environment) and a compiler, debugger and other tools (which comprise the development kit). In addition, the runtime platform is subject to a set of compatibility requirements to ensure consistent and compatible implementations. Implementations that meet the compatibility requirements may qualify for Sun's targeted compatibility brands. Java 2 is the current generation of the Java Platform.
What is Java Platform Editions ?
A Java platform "edition" is a definitive and agreed-upon version of the Java platform that provides the functionality needed over a broad market segment. An edition is comprised of two kinds of API sets: (i) "core packages," which are essential to all implementations of a given platform edition, and (ii) "optional packages," which are available for a given platform edition and which may be supported in a compatible implementation.
There are 3 distinct editions of the Java Platform:
* Java 2 Platform, Enterprise Edition:
The edition of the Java platform that is targeted at enterprises to enable development, deployment, and management of multi-tier server-centric applications.
* Java 2 Platform, Micro Edition:
The edition of the Java platform that is targeted at small, standalone or connectable consumer and embedded devices to enable development, deployment, and management of applications that can scale from smart cards through mobile devices and set-top boxes to conventional computing devices.
* Java 2 Platform, Standard Edition:
The edition of the Java platform that enables development, deployment, and management of cross-platform, general-purpose applications.
What is Java Remote Method Invocation (RMI) ?
A distributed object model for Java program to Java program, in which the methods of remote objects written in the Java programming language can be invoked from other Java virtual machines1, possibly on different hosts.
What is Java Runtime Environment (JRE) ?
A subset of the Java Development Kit (JDK) for end-users and developers who want to redistribute the runtime environment alone. The Java runtime environment consists of the Java virtual machine1, the Java core classes, and supporting files.
What is Java virtual machine ?
A software "execution engine" that safely and compatibly executes the byte codes in Java class files on a microprocessor (whether in a computer or in another electronic device).
What is JavaBeans ?
A portable, platform-independent reusable component model. A component that conforms to this model is called a bean.
What is JavaCheck ?
A tool for checking compliance of applications and applets to a specification.