J2SE

  Home  Java Programing  J2SE


“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”



206 J2SE Questions And Answers

61⟩ What is abstract schema?

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

 182 views

66⟩ There are 3 distinct editions of the Java Platform explain?

► 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.

 202 views

67⟩ 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.

 175 views

68⟩ What is comment?

In a program, explanatory text that is ignored by the compiler. In programs written in the Java programming language, comments are delimited using

//

or

/*...*/.

 160 views

69⟩ What is compilation unit?

The smallest unit of source code that can be compiled. In the current implementation of the Java platform, the compilation unit is a file.

 168 views

70⟩ What is compiler?

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.

 170 views

71⟩ What is codebase?

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.

 175 views

72⟩ What is classpath?

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.

 172 views

73⟩ What is class 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.

 181 views

74⟩ What is client?

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.

 146 views

75⟩ What is class 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.

 161 views

78⟩ What is critical section?

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.

 161 views

79⟩ What is default?

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.

 147 views

80⟩ What is core packages?

The required set of APIs in a Java platform edition which must be supported in any and all compatible implementations.

 142 views