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

181⟩ What is world readable files?

Files on a file system that can be viewed (read) by any user. For example: files residing on Web servers can only be viewed by Internet users if their permissions have been set to world readable.

 189 views

182⟩ What is security policy domain?

A scope over which security policies are defined and enforced by a security administrator. A security policy domain has the following characteristics:

It has a collection of users (or principals).

It uses a well defined authentication protocol(s) for authenticating users (or principals).

It may have groups to simplify setting of security policies.

 165 views

183⟩ What is security attributes?

A set of properties associated with a principal. Security attributes can be associated with a principal by an authentication protocol.

 159 views

184⟩ What is variable?

An item of data named by an identifier. Each variable has a type, such as int or Object, and a scope. See also class variable, instance variable, local variable.

 160 views

185⟩ What is URL?

Uniform Resource Locator. A standard for writing a text reference to an arbitrary piece of data in the WWW. A URL looks like "protocol://host/localinfo" where protocol specifies a protocol to use to fetch the object (like HTTP or FTP), host specifies the Internet name of the host on which to find it, and localinfo is a string (often a file name) passed to the protocol handler on the remote host.

 178 views

186⟩ What is Unicode?

A 16-bit character set defined by ISO 10646. See also ASCII. All source code in the Java programming environment is written in Unicode.

 160 views

187⟩ What is thin client?

A system that runs a very light operating system with no local system administration and executes applications delivered over the network.

 167 views

188⟩ What is virtual machine?

An abstract specification for a computing device that can be implemented in different ways, in software or hardware. You compile to the instruction set of a virtual machine much like you'd compile to the instruction set of a microprocessor. The Java virtual machine consists of a bytecode instruction set, a set of registers, a stack, a garbage-collected heap, and an area for storing methods.

 156 views

189⟩ What is Swing?

A collection of graphical user interface (GUI) components that runs uniformly on any native platform which supports the Java virtual machine*. Because they are written entirely in the Java programming language, these components may provide functionality above and beyond that provided by native-platform equivalents. (Contrast with AWT.)

 169 views

190⟩ What is volatile?

A Java keyword used in variable declarations that specifies that the variable is modified asynchronously by concurrently running threads.

 157 views

191⟩ What is transaction manager?

Provides the services and management functions required to support transaction demarcation, transactional resource management, synchronization, and transaction context propagation.

 177 views

192⟩ What is throw?

A Java keyword that allows the user to throw an exception or any class that implements the "throwable" interface.

 163 views

193⟩ What is this?

A Java keyword that can be used to represent an instance of the class in which it appears. this can be used to access class variables and methods.

 170 views

195⟩ What is TCP/IP?

Transmission Control Protocol based on IP. This is an Internet protocol that provides for the reliable delivery of streams of data from one host to another. See also IP.

 179 views

196⟩ What is while?

A Java keyword used to declare a loop that iterates a block of statements. The loop's exit condition is specified as part of the while statement.

 168 views

197⟩ What is transient?

A keyword in the Java programming language that indicates that a field is not part of the serialized form of an object. When an object is serialized, the values of its transient fields are not included in the serial representation, while the values of its non-transient fields are included.

 154 views

198⟩ What is wrapper?

An object that encapsulates and delegates to another object to alter its interface or behavior in some way.

 169 views

199⟩ What is Technology Compatibility Kit (TCK)?

A test suite, a set of tools, and other requirements used to certify an implementation of a particular Sun technology conformant both to the applicable specifications and to Sun or Sun-designated reference implementations.

 146 views

200⟩ What is void?

A Java keyword used in method declarations to specify that the method does not return any value. void can also be used as a nonfunctional statement.

 170 views