Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

51.

What Is Sax ?

Answer»

Simple API for XML. An event-driven, serial-access MECHANISM for ACCESSING XML DOCUMENTS.

Simple API for XML. An event-driven, serial-access mechanism for accessing XML documents.

52.

What Is Runtime System ?

Answer»

The software environment in which programs compiled for the Java VIRTUAL MACHINE1 can run. The RUNTIME system INCLUDES all the code necessary to load programs written in the Java PROGRAMMING language, dynamically link native methods, manage memory, handle exceptions, and an implementation of the Java virtual machine, which may be a Java interpreter.

The software environment in which programs compiled for the Java virtual machine1 can run. The runtime system includes all the code necessary to load programs written in the Java programming language, dynamically link native methods, manage memory, handle exceptions, and an implementation of the Java virtual machine, which may be a Java interpreter.

53.

What Is Rpc ?

Answer»

REMOTE Procedure Call. Executing what looks like a NORMAL procedure call (or METHOD invocation) by SENDING network packets to some remote host.

Remote Procedure Call. Executing what looks like a normal procedure call (or method invocation) by sending network packets to some remote host.

54.

What Is Root ?

Answer»

In a hierarchy of ITEMS, the one ITEM from which all other items are descended. The ROOT item has NOTHING above it in the hierarchy.

In a hierarchy of items, the one item from which all other items are descended. The root item has nothing above it in the hierarchy.

55.

What Is Rollback ?

Answer»

The POINT in a TRANSACTION when all updates to any DATABASES INVOLVED in the transaction are reversed.

The point in a transaction when all updates to any databases involved in the transaction are reversed.

56.

What Is Rmi ?

Answer»

SEE JAVA REMOTE METHOD INVOCATION.

See Java Remote Method Invocation.

57.

What Is Return ?

Answer»

A JAVA KEYWORD used to FINISH the execution of a method. It can be FOLLOWED by a value required by the method DEFINITION.

A Java keyword used to finish the execution of a method. It can be followed by a value required by the method definition.

58.

What Is Realm ?

Answer»

See security policy domain. Also, a string, passed as PART of an HTTP request during basic authentication, that DEFINES a PROTECTION space. The protected resources on a server can be partitioned into a set of protection spaces, each with its own authentication scheme and/or AUTHORIZATION database.

See security policy domain. Also, a string, passed as part of an HTTP request during basic authentication, that defines a protection space. The protected resources on a server can be partitioned into a set of protection spaces, each with its own authentication scheme and/or authorization database.

59.

What Is Raster ?

Answer»

A two-dimensional RECTANGULAR GRID of PIXELS.

A two-dimensional rectangular grid of pixels.

60.

What Is Public ?

Answer»

A JAVA keyword used in a method or VARIABLE declaration. It SIGNIFIES that the method or variable can be accessed by ELEMENTS residing in other classes.

A Java keyword used in a method or variable declaration. It signifies that the method or variable can be accessed by elements residing in other classes.

61.

What Is Protected ?

Answer»

A Java keyword USED in a method or variable declaration. It SIGNIFIES that the method or variable can only be ACCESSED by elements residing in its CLASS, subclasses, or CLASSES in the same package.

A Java keyword used in a method or variable declaration. It signifies that the method or variable can only be accessed by elements residing in its class, subclasses, or classes in the same package.

62.

Some Examples Of Profiles Within The Java 2 Platform, Micro Edition Are:

Answer»

* PERSONAL PROFILE- for non-PC PRODUCTS that need to display Web-compatible Java-based content.
* Java Card - for secure smart CARDS and other SEVERELY memory-constrained devices.

* Personal Profile- for non-PC products that need to display Web-compatible Java-based content.
* Java Card - for secure smart cards and other severely memory-constrained devices.

63.

What Is Profiles ?

Answer»

A profile is a collection of Java APIs that complements ONE or more Java 2 PLATFORM Editions by adding domain-specific CAPABILITIES. Profiles may also include other defined profiles. A profile implementation requires a Java 2 Platform Edition to CREATE a complete development and deployment ENVIRONMENT in a targeted vertical market. Each profile is subject to an associated set of compatibility requirements. Profiles may be usable on one or more editions.

A profile is a collection of Java APIs that complements one or more Java 2 Platform Editions by adding domain-specific capabilities. Profiles may also include other defined profiles. A profile implementation requires a Java 2 Platform Edition to create a complete development and deployment environment in a targeted vertical market. Each profile is subject to an associated set of compatibility requirements. Profiles may be usable on one or more editions.

64.

What Is Property ?

Answer»

Characteristics of an OBJECT that USERS can SET, such as the color of a window.

Characteristics of an object that users can set, such as the color of a window.

65.

What Is Process ?

Answer»

A virtual ADDRESS space CONTAINING one or more THREADS.

A virtual address space containing one or more threads.

66.

What Is Privilege ?

Answer»

A security attribute that does not have the PROPERTY of UNIQUENESS and which MAY be shared by many PRINCIPALS. An example of a PRIVILEGE is a group.

A security attribute that does not have the property of uniqueness and which may be shared by many principals. An example of a privilege is a group.

67.

What Is Private ?

Answer»

A Java KEYWORD USED in a METHOD or VARIABLE DECLARATION. It signifies that the method or variable can only be accessed by other elements of its class.

A Java keyword used in a method or variable declaration. It signifies that the method or variable can only be accessed by other elements of its class.

68.

What Is Principal ?

Answer»

The IDENTITY ASSIGNED to an ENTITY as a RESULT of AUTHENTICATION.

The identity assigned to an entity as a result of authentication.

69.

What Is Primitive Type ?

Answer»

A variable DATA type in which the variable's VALUE is of the APPROPRIATE size and format for its type: a NUMBER, a character, or a BOOLEAN value.

A variable data type in which the variable's value is of the appropriate size and format for its type: a number, a character, or a Boolean value.

70.

What Is Primary Key ?

Answer»

An OBJECT that UNIQUELY identifies an ENTITY BEAN within a home .

An object that uniquely identifies an entity bean within a home .

71.

What Is Poa ?

Answer»

PORTABLE Object Adapter. A CORBA STANDARD for BUILDING server-side applications that are portable across HETEROGENEOUS ORBs.

Portable Object Adapter. A CORBA standard for building server-side applications that are portable across heterogeneous ORBs.

72.

What Is Pixel ?

Answer»

The picture element on a display AREA, such as a MONITOR SCREEN or PRINTED page. Each pixel is INDIVIDUALLY accessible.

The picture element on a display area, such as a monitor screen or printed page. Each pixel is individually accessible.

73.

What Is Persistence ?

Answer»

The PROTOCOL for transferring the state of a bean between its instance VARIABLES and an UNDERLYING database.

The protocol for transferring the state of a bean between its instance variables and an underlying database.

74.

What Is Peer ?

Answer»

In networking, any functional UNIT in the same LAYER as ANOTHER ENTITY.

In networking, any functional unit in the same layer as another entity.

75.

What Is Package ?

Answer»

A GROUP of TYPES. PACKAGES are declared with the PACKAGE KEYWORD.

A group of types. Packages are declared with the package keyword.

76.

What Is Overriding ?

Answer»

Providing a different implementation of a method in a SUBCLASS of the class that ORIGINALLY DEFINED the method.

Providing a different implementation of a method in a subclass of the class that originally defined the method.

77.

What Is Overloading ?

Answer»

Using one IDENTIFIER to refer to multiple items in the same scope. In the Java programming language, you can OVERLOAD METHODS but not variables or operators.

Using one identifier to refer to multiple items in the same scope. In the Java programming language, you can overload methods but not variables or operators.

78.

What Is Ots ?

Answer»

Object TRANSACTION Service. A definition of the interfaces that PERMIT CORBA OBJECTS to PARTICIPATE in transactions.

Object Transaction Service. A definition of the interfaces that permit CORBA objects to participate in transactions.

79.

What Is Os Principal ?

Answer»

A PRINCIPAL NATIVE to the operating system on which the JAVA PLATFORM is EXECUTING.

A principal native to the operating system on which the Java platform is executing.

80.

What Is Orb ?

Answer»

OBJECT Request Broker. A LIBRARY than enables CORBA OBJECTS to locate and communicate with one ANOTHER.

Object Request Broker. A library than enables CORBA objects to locate and communicate with one another.

81.

What Is Optional Packages ?

Answer»

The set or sets of APIS in a JAVA platform EDITION which are available with and may be supported in a compatible implementation. Over time, optional packages may become required in an edition as the marketplace requires them.

The set or sets of APIs in a Java platform edition which are available with and may be supported in a compatible implementation. Over time, optional packages may become required in an edition as the marketplace requires them.

82.

What Is Octal What Is Object-oriented Design ?

Answer»

The numbering system USING 8 as its BASE, using the numerals 0-7 as its digits. In programs WRITTEN in the Java programming LANGUAGE, OCTAL numbers must be preceded with 0. See also hexadecimal.

The numbering system using 8 as its base, using the numerals 0-7 as its digits. In programs written in the Java programming language, octal numbers must be preceded with 0. See also hexadecimal.

83.

What Is Object-oriented Design ?

Answer»

A software design METHOD that models the characteristics of abstract or REAL OBJECTS USING classes and objects.

A software design method that models the characteristics of abstract or real objects using classes and objects.

84.

What Is Object ?

Answer»

The principal building blocks of object-oriented programs. Each object is a PROGRAMMING unit consisting of DATA (instance VARIABLES) and FUNCTIONALITY (instance methods).

The principal building blocks of object-oriented programs. Each object is a programming unit consisting of data (instance variables) and functionality (instance methods).

85.

What Is Null ?

Answer»

The null TYPE has one value, the null REFERENCE, REPRESENTED by the literal null, which is FORMED from ASCII CHARACTERS. A null literal is always of the null type.

The null type has one value, the null reference, represented by the literal null, which is formed from ASCII characters. A null literal is always of the null type.

86.

What Is New ?

Answer»

A Java keyword USED to CREATE an INSTANCE of a CLASS.

A Java keyword used to create an instance of a class.

87.

What Is Native ?

Answer»

A JAVA KEYWORD that is used in method declarations to SPECIFY that the method is not IMPLEMENTED in the same Java source file, but rather in ANOTHER language.

A Java keyword that is used in method declarations to specify that the method is not implemented in the same Java source file, but rather in another language.

88.

What Is Multithreaded ?

Answer»

Describes a program that is DESIGNED to have parts of its CODE execute CONCURRENTLY. See also THREAD.

Describes a program that is designed to have parts of its code execute concurrently. See also thread.

89.

What Is Method ?

Answer»

A FUNCTION defined in a class. See ALSO INSTANCE METHOD, class method. Unless SPECIFIED otherwise, a method is not static.

A function defined in a class. See also instance method, class method. Unless specified otherwise, a method is not static.

90.

What Is Member ?

Answer»

A field or METHOD of a class. UNLESS SPECIFIED OTHERWISE, a member is not static.

A field or method of a class. Unless specified otherwise, a member is not static.

91.

What Is Long ?

Answer»

A Java keyword USED to define a VARIABLE of type LONG.

A Java keyword used to define a variable of type long.

92.

What Is Local Variable ?

Answer»

A data item known within a block, but INACCESSIBLE to code OUTSIDE the block. For example, any variable DEFINED within a method is a local variable and can't be USED outside the method.

A data item known within a block, but inaccessible to code outside the block. For example, any variable defined within a method is a local variable and can't be used outside the method.

93.

What Is Literal ?

Answer»

The basic representation of any integer, floating point, or CHARACTER VALUE. For EXAMPLE, 3.0 is a double-precision floating point LITERAL, and "a" is a character literal.

The basic representation of any integer, floating point, or character value. For example, 3.0 is a double-precision floating point literal, and "a" is a character literal.

94.

What Is Linker ?

Answer»

A MODULE that builds an EXECUTABLE, complete program from component MACHINE code modules. The Java linker creates a runnable program from compiled classes. See also compiler, interpreter, RUNTIME system.

A module that builds an executable, complete program from component machine code modules. The Java linker creates a runnable program from compiled classes. See also compiler, interpreter, runtime system.

95.

What Is Lexical ?

Answer»

PERTAINING to how the characters in source CODE are TRANSLATED into TOKENS that the compiler can UNDERSTAND.

Pertaining to how the characters in source code are translated into tokens that the compiler can understand.

96.

What Is Keyword ?

Answer»

Java SETS aside WORDS as keywords - these words are reserved by the language itself and therefore are not AVAILABLE as names for variables or methods.

Java sets aside words as keywords - these words are reserved by the language itself and therefore are not available as names for variables or methods.

97.

What Is Jvm ?

Answer»

JAVA VIRTUAL MACHINE (JVM).

Java Virtual Machine (JVM).

98.

What Is Just-in-time (jit) Compiler ?

Answer»

A compiler that converts all of the bytecode into NATIVE machine CODE just as a Java program is run. This results in run-time speed improvements over code that is interpreted by a Java VIRTUAL machine.

A compiler that converts all of the bytecode into native machine code just as a Java program is run. This results in run-time speed improvements over code that is interpreted by a Java virtual machine.

99.

What Is Jre ?

Answer»

JAVA RUNTIME ENVIRONMENT.

Java Runtime Environment.

100.

What Is Jni ?

Answer»

JAVA NATIVE INTERFACE.

Java Native Interface.