Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger


Saturday 3 January 2009

J2SE Interview Questions and Answers 1

What is abstract ?
A Java keyword used in a class definition to specify that a class is not to be instantiated, but rather inherited by other classes. An abstract class can have abstract methods that are not implemented in the abstract class, but in subclasses.

What is abstract class ?
A class that contains one or more abstract methods, and therefore can never be instantiated. Abstract classes are defined so that other classes can extend them and make them concrete by implementing the abstract methods.

What is abstract method ?
A method that has no implementation.

What is Abstract Window Toolkit (AWT) ?
A collection of graphical user interface (GUI) components that were implemented using native-platform versions of the components. These components provide that subset of functionality which is common to all native platforms. Largely supplanted by the Project Swing component set. See also Swing.

What is access control ?
The methods by which interactions with resources are limited to collections of users or programs for the purpose of enforcing integrity, confidentiality, or availability constraints.

What is ACID ?
The acronym for the four properties guaranteed by transactions: atomicity, consistency, isolation, and durability.

What is actual parameter list ?
The arguments specified in a particular method call. See also formal parameter list.

What is API ?

Application Programming Interface. The specification of how a programmer writing an application accesses the behavior and state of classes and objects.

What is applet ?
A component that typically executes in a Web browser, but can execute in a variety of other applications or devices that support the applet programming model.

What is ASCII ?
American Standard Code for Information Interchange. A standard assignment of 7-bit numeric codes to characters. See also Unicode.

What is atomic ?
Refers to an operation that is never interrupted or left in an incomplete state under any circumstance.

What is authentication ?
The process by which an entity proves to another entity that it is acting on behalf of a specific identity.

What is autoboxing ?
Automatic conversion between reference and primitive types.

What is bean ?
A reusable software component that conforms to certain design and naming conventions. The conventions enable beans to be easily combined to create an application using tools that understand the conventions.

What is binary operator ?
An operator that has two arguments.

What is bitwise operator ?
An operator that manipulates the bits of one or more of its operands individually and in parallel. Examples include the binary logical operators (&, |, ^), the binary shift operators (<< , >>, >>> ) and the unary one's complement operator (~).

What is block ?
In the Java programming language, any code between matching braces. Example: { x = 1; }.

No comments:

Post a Comment