Java Tutorial

Java is object-oriented, distributed, secure, multi-threaded, and portable programming language.  Java is a general purpose programming language intended to let the Java developers write once, run anywhere (WORA). WORA means that the compiled Java code(Java bytecode) can run on many platforms that support Java without the need to recompile the Java source code. This allows Java to be cross-platform and platform-independent.


Java Program Execution Java Tutorials

Java Platform

Java Download

Java Editions

First Java Application

Popular IDEs

OOPS Concepts

Main method

Hello World

Java Comments

Data Types

Java Variables

Program Structure

Java Access Modifiers

Class and Object

Setters and Getters

Java Interface

Abstract Class


Java Testing Tools

JDBC Tutorials

JDBC stands for Java Database Connectivity. JDBC API defines classes and interfaces that allows Java applications to interact with databases. In the following tutorials, we will learn to execute SQL statements from Java programs using JDBC API.

The basic steps to execute SQL statement with JDBC API are:

  • Configure Java development environment. ( JDK Install, IDE setup etc)
  • Create a Java project and class
  • Download and Install JDBC Driver. Setup classpath or build path for the driver.
  • Load suitable JDBC Driver
  • Establish a database connection
  • Create an SQL statement to execute
  • Execute the SQL statement
  • Process the query ResultSet
  • Close the database connection


JDBC API TestingDocs

Java Database Connectivity API


More information on Java: