Java FAQ
We offer you quality collection of Java FAQ from core java, jsp and servlet. These java FAQ will help you to prepare for career java interview, java certification, college tests and campus interview. It will also help to update your java knowledge.
Recently Added Java FAQ:
A java exception can be thrown only in the following three scenarios:
(1) An abnormal execution condition was synchronously detected by the Java virtual machine.
- When evaluation of an expression violates the normal semantics (Example: an integer divide by zero) (more…)
FAQ Category: Java Exception.
Type of exceptions in java are checked exceptions and unchecked exceptions. This classification is based on compile-time checking of exceptions. There is also a classification based on runtime in java. It is not widely known! That is synchronous and asynchronous exceptions. First let us see the java checked (more…)
FAQ Category: Java Exception.
This definition:
Java’s ‘this’ keyword is used to refer the current instance of the method on which it is used.
Following are the ways to use this
1) To specifically denote that the instance variable is used instead of static or local varible.That is, (more…)
FAQ Category: Core Java.
How many types of java comments are there? Everybody knows there are two types of java comments available. Now the misunderstood part starts. What are those two types of java comments?
The (ยง3.7) Java Language Specification Third Edition says, (more…)
FAQ Category: Core Java.
Check list for Internationalization (I18n)
This check list will cater to the need of programmers irrespective of the language java /dot net/ j2ee / any other.
Translatable items
In java, a frequent occurence of a common phenomenon related to memory management is creation and destruction of temporary objects. What are java temporary objects? For example in java, when two strings are concatenated, a StringBuffer object is created. As two Java String objects cannot be added directly (more…)
FAQ Category: Core Java.
First lets understand what does “java import” does to your java program!
Consider the java import statements: (more…)
FAQ Category: Core Java.
Scope of JSP objects:
The availability of a JSP object for use from a particular place of the application is defined as the scope of that JSP object. Every object created in a JSP page will have a scope. Object scope in JSP is segregated into (more…)
FAQ Category: JSP.
java.util.Vector came along with the first version of java development kit (JDK). java.util.ArrayList was introduced in java version1.2, as part of java collections framework. As per java API, in Java 2 platform v1.2, (more…)
FAQ Category: Java Collection.
Java variables can be categorized into the following seven types:
- Class Variable
- Instance Variable
- Array Component Variable (more…)
FAQ Category: Core Java.