J2SE Interview Preparation Guide
Download PDF

J2SE Interview Questions and Answers will teach you now that Java Platform, Standard Edition or Java SE is a widely used platform for programming in the Java language. It is the Java Platform used to deploy portable applications for general use. In practical terms, Java SE consists of a virtual machine. So learn J2SE by this Java Platform, Standard Edition Interview Questions with Answers guide

214 J2SE Questions and Answers:

Table of Contents

J2SE Interview Questions and Answers
J2SE Interview Questions and Answers

1 :: What is Java API?

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

2 :: 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.

3 :: What is actual parameter list?

The arguments specified in a particular method call. See also formal parameter list.

4 :: What is ASCII?

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

5 :: What is ACID?

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

6 :: 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.

7 :: What is atomic?

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

8 :: What is authentication?

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

9 :: What is autoboxing?

Automatic conversion between reference and primitive types.

10 :: 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.

11 :: 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.

12 :: 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.

13 :: What is block?

In the Java programming language, any code between matching braces.
Example:

{
x = 1;
}

14 :: 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 (~).

15 :: What is binary operator?

An operator that has two arguments.

16 :: What is case?

A Java keyword that defines a group of statements to begin executing if a value specified matches the value defined by a preceding switch keyword.

17 :: What is bytecode?

Machine-independent code generated by the Java compiler and executed by the Java interpreter.

18 :: What is break?

A Java keyword used to resume program execution at the statement immediately following the current statement. If followed by a label, the program resumes execution at the labeled statement.

19 :: What is boolean?

Refers to an expression or variable that can have only a true or false value. The Java programming language provides the boolean type and the literal values true and false.

20 :: What is casting?

Explicit conversion from one data type to another.

21 :: What is catch?

A Java keyword used to declare a block of statements to be executed in the event that a Java exception, or run time error, occurs in a preceding try block.

22 :: What is abstract schema?

The part of an entity bean's deployment descriptor that defines the bean's persistent fields and relationships.

23 :: What is abstract schema name?

A logical name that is referenced in EJB QL queries.

24 :: What is activation?

The process of transferring an enterprise bean from secondary storage to memory.

25 :: What is anonymous access?

Accessing a resource without authentication.