Introduction The 'main()' method in Java is referred to the thread that is running, whenever a Java program runs. It calls the main thread...
Introduction Java environment has been built around the multithreading model. In fact all Java class libraries have been designed keeping...
Introduction Multithreading is a concept where a program is broken into two or more parts called threads and all these threads run in parallel....
The exception handling mechanism is a cleaner way to impose check upon the conditions which may lead to errors. But you should not be carried away...
Java defines several built-in classes for exception handling. All these classes are a part of the java.lang package which is automatically...
Just like the multiple catch blocks, we can also have multiple try blocks. These try blocks may be written independently or we can nest the try...
Introduction The code bound by the try block need not always throw a single exception. If in a try block multiple and varied exceptions are...
The finally clause is written with the try-catch statement. It is guarenteed to be executed after a catch block or before the method quits....
You have seen that an exception is thrown either implicitly in the try block and there is a catch block ready to handle it. But, there are...
Introduction SQL*Plus (pronounced "sequel plus") is an interactive tool for the Oracle RDBMS environment. SQL*Plus can be used simply to...
Before you can catch an exception, some code somewhere must throw one. Any code can throw an exception: your code, code from a package written by...
Introduction The code which is expected to generate the exception must be enclosed in the try and catch block. The very basic form of the...
Exception is an abnormal condition that arises in the program during execution. When such a condition arises in the program, an appropriate code...
What is an EJB? An Enterprise JavaBean (EJB) is a reusable, portable J2EE component. EJBs consist of methods that encapsulate business logic....
Introduction A subroutine is a container that holds a series of VBScript statements. Suppose you'd like to create a block of code that...
PL/SQL exception handling is a mechanism for dealing with run-time errors encountered during procedure execution. Use of this mechanism enables...
PL/SQL uses cursors for all database information access statements. The language supports the use of both implicit and explicit cursors. Implicit...
If you go through any standard C# books you will see the constructors and so I would not get into the details of the constructors but what is more...
Data integrity is about enforcing data validation rules such as checking that a percentage amount is between 0 and 100 and to ensure that invalid...
Every class has at least one it's own constructor. Constructor creates a instance for the class. Constructor initiates something related to the...
Separate names with a comma.