InterviewSolution
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.
| 151. |
What Is Goto ? |
|
Answer» This is a RESERVED JAVA keyword. However, it is not used by current versions of the Java PROGRAMMING language. This is a reserved Java keyword. However, it is not used by current versions of the Java programming language. |
|
| 152. |
What Is Generic ? |
|
Answer» A class, interface, or method that declares one or more type variables. These type variables are known as type parameters. A generic DECLARATION DEFINES a set of parameterized types, one for each POSSIBLE invocation of the type parameter section. At runtime, all of these parameterized types share the same class, interface, or method. A class, interface, or method that declares one or more type variables. These type variables are known as type parameters. A generic declaration defines a set of parameterized types, one for each possible invocation of the type parameter section. At runtime, all of these parameterized types share the same class, interface, or method. |
|
| 153. |
What Is Garbage Collection ? |
|
Answer» The AUTOMATIC DETECTION and freeing of memory that is no longer in use. The Java RUNTIME system PERFORMS garbage collection so that programmers never EXPLICITLY free objects. The automatic detection and freeing of memory that is no longer in use. The Java runtime system performs garbage collection so that programmers never explicitly free objects. |
|
| 154. |
What Is Formal Parameter List ? |
|
Answer» The PARAMETERS specified in the definition of a particular method. SEE ALSO ACTUAL PARAMETER list. The parameters specified in the definition of a particular method. See also actual parameter list. |
|
| 155. |
What Is Ftp ? |
|
Answer» FILE Transfer PROTOCOL. FTP, which is BASED on TCP/IP, enables the fetching and storing of files between HOSTS on the INTERNET. File Transfer Protocol. FTP, which is based on TCP/IP, enables the fetching and storing of files between hosts on the Internet. |
|
| 156. |
What Is For ? |
|
Answer» A Java KEYWORD USED to declare a LOOP that reiterates statements. The PROGRAMMER can specify the statements to be executed, EXIT conditions, and initialization variables for the loop. A Java keyword used to declare a loop that reiterates statements. The programmer can specify the statements to be executed, exit conditions, and initialization variables for the loop. |
|
| 157. |
What Is Float ? |
|
Answer» A JAVA keyword used to define a FLOATING POINT NUMBER VARIABLE. A Java keyword used to define a floating point number variable. |
|
| 158. |
What Is Finally ? |
|
Answer» A Java keyword that executes a BLOCK of STATEMENTS regardless of whether a Java EXCEPTION, or RUN time ERROR, occurred in a block defined previously by the try keyword. A Java keyword that executes a block of statements regardless of whether a Java Exception, or run time error, occurred in a block defined previously by the try keyword. |
|
| 159. |
What Is Final ? |
|
Answer» A Java keyword. You DEFINE an entity once and cannot change it or derive from it later. More SPECIFICALLY: a final class cannot be subclassed, a final METHOD cannot be overridden and a final variable cannot change from its INITIALIZED VALUE. A Java keyword. You define an entity once and cannot change it or derive from it later. More specifically: a final class cannot be subclassed, a final method cannot be overridden and a final variable cannot change from its initialized value. |
|
| 160. |
What Is Field ? |
|
Answer» A DATA member of a CLASS. Unless specified otherwise, a FIELD is not STATIC. A data member of a class. Unless specified otherwise, a field is not static. |
|
| 161. |
What Is Extends ? |
|
Answer» Class X extends class Y to add FUNCTIONALITY, EITHER by ADDING FIELDS or methods to class Y, or by overriding methods of class Y. An interface extends ANOTHER interface by adding methods. Class X is said to be a subclass of class Y. See also derived from. Class X extends class Y to add functionality, either by adding fields or methods to class Y, or by overriding methods of class Y. An interface extends another interface by adding methods. Class X is said to be a subclass of class Y. See also derived from. |
|
| 162. |
What Is Executable Content ? |
|
Answer» An application that runs from WITHIN an HTML FILE. SEE ALSO APPLET. An application that runs from within an HTML file. See also applet. |
|
| 163. |
What Is Exception Handler ? |
|
Answer» A block of CODE that reacts to a specific type of exception. If the exception is for an error that the PROGRAM can recover from, the program can resume executing after the exception HANDLER has EXECUTED. A block of code that reacts to a specific type of exception. If the exception is for an error that the program can recover from, the program can resume executing after the exception handler has executed. |
|
| 164. |
What Is Exception ? |
|
Answer» An event during PROGRAM execution that prevents the program from continuing normally; GENERALLY, an error. The Java programming LANGUAGE supports exceptions with the try, CATCH, and THROW keywords. See also exception handler. An event during program execution that prevents the program from continuing normally; generally, an error. The Java programming language supports exceptions with the try, catch, and throw keywords. See also exception handler. |
|
| 165. |
What Is Enumerated Type ? |
|
Answer» A TYPE whose LEGAL values CONSIST of a fixed SET of constants. A type whose legal values consist of a fixed set of constants. |
|
| 166. |
What Is Enum ? |
|
Answer» A Java keyword used to DECLARE an enumerated type. A Java keyword used to declare an enumerated type. |
|
| 167. |
What Is Encapsulation ? |
|
Answer» The localization of KNOWLEDGE within a module. Because OBJECTS encapsulate data and implementation, the user of an object can view the object as a black box that PROVIDES SERVICES. Instance variables and methods can be added, deleted, or CHANGED, but as long as the services provided by the object remain the same, code that uses the object can continue to use it without being rewritten. See also instance variable, instance method. The localization of knowledge within a module. Because objects encapsulate data and implementation, the user of an object can view the object as a black box that provides services. Instance variables and methods can be added, deleted, or changed, but as long as the services provided by the object remain the same, code that uses the object can continue to use it without being rewritten. See also instance variable, instance method. |
|
| 168. |
What Is Embedded Java Technology ? |
|
Answer» The availability of Java 2 Platform, MICRO Edition technology under a restrictive LICENSE agreement that ALLOWS a licensee to leverage certain Java TECHNOLOGIES to create and deploy a closed-box application that exposes no APIs. The availability of Java 2 Platform, Micro Edition technology under a restrictive license agreement that allows a licensee to leverage certain Java technologies to create and deploy a closed-box application that exposes no APIs. |
|
| 169. |
What Is Else ? |
|
Answer» A Java keyword USED to execute a BLOCK of STATEMENTS in the CASE that the test condition with the if keyword evaluates to false. A Java keyword used to execute a block of statements in the case that the test condition with the if keyword evaluates to false. |
|
| 170. |
What Is Dtd ? |
|
Answer» DOCUMENT TYPE Definition. A description of the STRUCTURE and PROPERTIES of a CLASS of XML files. Document Type Definition. A description of the structure and properties of a class of XML files. |
|
| 171. |
What Is Double Precision ? |
|
Answer» In the JAVA programming LANGUAGE specification, describes a floating point number that holds 64 bits of data. See also SINGLE PRECISION. In the Java programming language specification, describes a floating point number that holds 64 bits of data. See also single precision. |
|
| 172. |
What Is Double ? |
|
Answer» A Java KEYWORD used to DEFINE a VARIABLE of TYPE double. A Java keyword used to define a variable of type double. |
|
| 173. |
What Is Dom ? |
|
Answer» Document Object Model. A tree of objects with INTERFACES for traversing the tree and WRITING an XML version of it, as DEFINED by the W3C SPECIFICATION. Document Object Model. A tree of objects with interfaces for traversing the tree and writing an XML version of it, as defined by the W3C specification. |
|
| 174. |
What Is Do ? |
|
Answer» A JAVA keyword used to DECLARE a loop that will ITERATE a block of statements. The loop's exit condition can be SPECIFIED with the while keyword. A Java keyword used to declare a loop that will iterate a block of statements. The loop's exit condition can be specified with the while keyword. |
|
| 175. |
What Is Distributed Application ? |
|
Answer» An application MADE up of distinct components running in separate runtime environments, usually on different platforms connected through a network. TYPICAL DISTRIBUTED applications are two-tier (client/server), three-tier (client/middleware/server), and n-tier (client/multiple middleware/multiple servers). An application made up of distinct components running in separate runtime environments, usually on different platforms connected through a network. Typical distributed applications are two-tier (client/server), three-tier (client/middleware/server), and n-tier (client/multiple middleware/multiple servers). |
|
| 176. |
What Is Distributed ? |
|
Answer» RUNNING in more than ONE ADDRESS SPACE. Running in more than one address space. |
|
| 177. |
What Is Deprecation ? |
|
Answer» Refers to a class, INTERFACE, constructor, method or field that is no longer recommended, and may cease to exist in a FUTURE VERSION. Refers to a class, interface, constructor, method or field that is no longer recommended, and may cease to exist in a future version. |
|
| 178. |
What Is Delegation ? |
|
Answer» An act whereby one PRINCIPAL AUTHORIZES another principal to USE its identity or privileges with some restrictions. An act whereby one principal authorizes another principal to use its identity or privileges with some restrictions. |
|
| 179. |
What Is Definition ? |
|
Answer» A DECLARATION that reserves storage (for data) or PROVIDES IMPLEMENTATION (for METHODS). See also declaration. A declaration that reserves storage (for data) or provides implementation (for methods). See also declaration. |
|
| 180. |
What Is Default ? |
|
Answer» A Java KEYWORD optionally used after all CASE conditions in a switch statement. If all case conditions are not MATCHED by the value of the switch VARIABLE, the default keyword will be executed. A Java keyword optionally used after all case conditions in a switch statement. If all case conditions are not matched by the value of the switch variable, the default keyword will be executed. |
|
| 181. |
What Is Declaration ? |
|
Answer» A statement that establishes an identifier and associates attributes with it, without necessarily reserving its storage (for DATA) or providing the IMPLEMENTATION (for methods). SEE also definition. A statement that establishes an identifier and associates attributes with it, without necessarily reserving its storage (for data) or providing the implementation (for methods). See also definition. |
|
| 182. |
What Is Critical Section ? |
|
Answer» A segment of code in which a thread USES RESOURCES (such as certain INSTANCE variables) that can be used by other threads, but that must not be used by them at the same TIME. A segment of code in which a thread uses resources (such as certain instance variables) that can be used by other threads, but that must not be used by them at the same time. |
|
| 183. |
What Is Credentials ? |
|
Answer» The INFORMATION DESCRIBING the security ATTRIBUTES of a principal. Credentials can be acquired only through AUTHENTICATION or DELEGATION. The information describing the security attributes of a principal. Credentials can be acquired only through authentication or delegation. |
|
| 184. |
What Is Core Packages ? |
|
Answer» The required set of APIs in a JAVA PLATFORM EDITION which MUST be SUPPORTED in any and all compatible implementations. The required set of APIs in a Java platform edition which must be supported in any and all compatible implementations. |
|
| 185. |
What Is Core Class ? |
|
Answer» A public class (or interface) that is a standard member of the Java Platform. The intent is that the core classes for the Java platform, at minimum, are AVAILABLE on all operating systems where the Java platform runs. A program written entirely in the Java PROGRAMMING language RELIES only on core classes, meaning it can run ANYWHERE. A public class (or interface) that is a standard member of the Java Platform. The intent is that the core classes for the Java platform, at minimum, are available on all operating systems where the Java platform runs. A program written entirely in the Java programming language relies only on core classes, meaning it can run anywhere. |
|
| 186. |
What Is Corba ? |
|
Answer» Common OBJECT Request Broker ARCHITECTURE. A LANGUAGE INDEPENDENT, distributed object model specified by the Object Management GROUP (OMG). Common Object Request Broker Architecture. A language independent, distributed object model specified by the Object Management Group (OMG). |
|
| 187. |
What Is Conversational State ? |
|
Answer» The field values of a session bean plus the transitive closure of the objects reachable from the bean's fields. The transitive closure of a bean is defined in terms of the SERIALIZATION PROTOCOL for the Java programming LANGUAGE, that is, the fields that WOULD be STORED by serializing the bean instance. The field values of a session bean plus the transitive closure of the objects reachable from the bean's fields. The transitive closure of a bean is defined in terms of the serialization protocol for the Java programming language, that is, the fields that would be stored by serializing the bean instance. |
|
| 188. |
What Is Continue ? |
|
Answer» A Java keyword used to resume program execution at the END of the current LOOP. If followed by a LABEL, CONTINUE RESUMES execution where the label occurs. A Java keyword used to resume program execution at the end of the current loop. If followed by a label, continue resumes execution where the label occurs. |
|
| 189. |
What Is Const ? |
|
Answer» A reserved Java KEYWORD not used by CURRENT versions of the Java programming language. A reserved Java keyword not used by current versions of the Java programming language. |
|
| 190. |
What Is Constructor ? |
|
Answer» A pseudo-method that creates an object. In the JAVA programming language, constructors are instance METHODS with the same name as their class. Constructors are INVOKED using the NEW KEYWORD. A pseudo-method that creates an object. In the Java programming language, constructors are instance methods with the same name as their class. Constructors are invoked using the new keyword. |
|
| 191. |
What Is Compositing ? |
|
Answer» The process of superimposing one image on ANOTHER to CREATE a single image. The process of superimposing one image on another to create a single image. |
|
| 192. |
What Is Compiler ? |
|
Answer» A program to translate source CODE into code to be executed by a COMPUTER. The JAVA compiler translates source code written in the Java PROGRAMMING language into bytecode for the Java virtual machine1. See ALSO interpreter. A program to translate source code into code to be executed by a computer. The Java compiler translates source code written in the Java programming language into bytecode for the Java virtual machine1. See also interpreter. |
|
| 193. |
What Is Compilation Unit ? |
|
Answer» The smallest UNIT of source code that can be COMPILED. In the current IMPLEMENTATION of the JAVA platform, the compilation unit is a FILE. The smallest unit of source code that can be compiled. In the current implementation of the Java platform, the compilation unit is a file. |
|
| 194. |
What Is Commit ? |
|
Answer» The POINT in a transaction when all UPDATES to any resources involved in the transaction are MADE PERMANENT. The point in a transaction when all updates to any resources involved in the transaction are made permanent. |
|
| 195. |
What Is Comment ? |
|
Answer» In a PROGRAM, explanatory text that is ignored by the compiler. In PROGRAMS written in the Java programming LANGUAGE, comments are DELIMITED USING // or /*...*/. In a program, explanatory text that is ignored by the compiler. In programs written in the Java programming language, comments are delimited using // or /*...*/. |
|
| 196. |
What Is Codebase ? |
|
Answer» Works together with the CODE attribute in the <APPLET> tag to give a complete SPECIFICATION of where to find the main applet class FILE: code specifies the NAME of the file, and CODEBASE specifies the URL of the directory containing the file. Works together with the code attribute in the <APPLET> tag to give a complete specification of where to find the main applet class file: code specifies the name of the file, and codebase specifies the URL of the directory containing the file. |
|
| 197. |
What Is Client ? |
|
Answer» In the CLIENT/server model of COMMUNICATIONS, the client is a process that remotely accesses RESOURCES of a COMPUTE server, such as compute power and large memory capacity. In the client/server model of communications, the client is a process that remotely accesses resources of a compute server, such as compute power and large memory capacity. |
|
| 198. |
What Is Classpath ? |
|
Answer» An ENVIRONMENTAL VARIABLE which tells the Java VIRTUAL MACHINE1 and Java technology-based applications where to find the class libraries, including user-defined class libraries. An environmental variable which tells the Java virtual machine1 and Java technology-based applications where to find the class libraries, including user-defined class libraries. |
|
| 199. |
What Is Class Variable ? |
|
Answer» A data item ASSOCIATED with a PARTICULAR class as a whole--not with particular instances of the class. Class variables are DEFINED in class definitions. Also CALLED a STATIC field. See also instance variable. A data item associated with a particular class as a whole--not with particular instances of the class. Class variables are defined in class definitions. Also called a static field. See also instance variable. |
|
| 200. |
What Is Class Method ? |
|
Answer» A method that is INVOKED without reference to a PARTICULAR object. Class methods affect the class as a whole, not a particular INSTANCE of the class. Also CALLED a static method. See also instance method. A method that is invoked without reference to a particular object. Class methods affect the class as a whole, not a particular instance of the class. Also called a static method. See also instance method. |
|