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

41⟩ What is extends?

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.

 152 views

44⟩ What is hexadecimal?

The numbering system that uses 16 as its base. The marks 0-9 and a-f (or equivalently A-F) represent the digits 0 through 15. In programs written in the Java programming language, hexadecimal numbers must be preceded with 0x. See also octal.

 161 views

45⟩ What is HTML?

HyperText Markup Language. This is a file format, based on SGML, for hypertext documents on the Internet. It is very simple and allows for the embedding of images, sounds, video streams, form fields and simple text formatting. References to other objects are embedded using URLs.

 155 views

46⟩ What is group?

A collection of principals within a given security policy domain.

 167 views

47⟩ What is JavaBeans?

A portable, platform-independent reusable component model. A component that conforms to this model is called a bean.

 156 views

48⟩ What is Java Runtime Environment (JRE)?

A subset of the Java Development Kit (JDK) for end-users and developers who want to redistribute the runtime environment alone. The Java runtime environment consists of the Java virtual machine1, the Java core classes, and supporting files.

 157 views

49⟩ What is bean?

A reusable software component that conforms to certain design and naming conventions. The conventions enable beans to be easily combined to create an application using tools that understand the conventions.

 177 views

50⟩ What is block?

In the Java programming language, any code between matching braces.

Example:

{

x = 1;

}

 148 views

51⟩ What is bitwise operator?

An operator that manipulates the bits of one or more of its operands individually and in parallel. Examples include the binary logical operators (&, |, ^), the binary shift operators (<< , >>, >>> ) and the unary one's complement operator (~).

 171 views

53⟩ What is break?

A Java keyword used to resume program execution at the statement immediately following the current statement. If followed by a label, the program resumes execution at the labeled statement.

 171 views

54⟩ What is boolean?

Refers to an expression or variable that can have only a true or false value. The Java programming language provides the boolean type and the literal values true and false.

 185 views

55⟩ What is a class?

In the Java programming language, a type that defines the implementation of a particular kind of object. A class definition defines instance and class variables and methods, as well as specifying the interfaces the class implements and the immediate superclass of the class. If the superclass is not explicitly specified, the superclass will implicitly be Object.

 175 views

57⟩ What is case?

A Java keyword that defines a group of statements to begin executing if a value specified matches the value defined by a preceding switch keyword.

 158 views

58⟩ What is bytecode?

Machine-independent code generated by the Java compiler and executed by the Java interpreter.

 171 views

59⟩ What is constructor?

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 views

60⟩ What is catch?

A Java keyword used to declare a block of statements to be executed in the event that a Java exception, or run time error, occurs in a preceding try block.

 168 views