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.

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

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

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

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

 165 views

29⟩ What is field?

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

 151 views

30⟩ What is goto?

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

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

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

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

 151 views

36⟩ What is DTD?

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

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

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

 155 views