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

21⟩ What is do?

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.

 116 views

22⟩ What is exception handler?

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.

 138 views

23⟩ What is else?

A Java keyword used to execute a block of statements in the case that the test condition with the if keyword evaluates to false.

 134 views

25⟩ What is encapsulation?

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.

 116 views

26⟩ What is EmbeddedJava Technology?

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.

 135 views

29⟩ What is field?

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

 118 views

30⟩ What is goto?

This is a reserved Java keyword. However, it is not used by current versions of the Java programming language.

 148 views

31⟩ What is final?

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.

 125 views

33⟩ What is generic?

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.

 206 views

34⟩ What is distributed application?

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

 127 views

36⟩ What is DTD?

Document Type Definition. A description of the structure and properties of a class of XML files.

 126 views

37⟩ What is double precision?

In the Java programming language specification, describes a floating point number that holds 64 bits of data. See also single precision.

 115 views

38⟩ What is exception?

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.

 128 views