How to Connect MySQL with Java

Hello Friends, Here is the article to give simple code to connecting MySQL Database with Java Application.Here i am using eclipse IDE. i am connecting java with MySQL database using JDBC driver. Let’s see all important steps. 1.First Download jdbc driver. write in google search box “jdbc driver for MySQL”. Download suitable driver from MySQL.com […]

How to Connect SQL Server with Java

Hello Friends, Here is the article to give simple code to connecting SQL Server Database with Java Application.Here i am using eclipse IDE. i am connecting java with SQL Server database using JDBC driver. Let’s see all important steps. 1.First Download jdbc driver. write in google search box “jdbc driver for SQL Server”. Download suitable […]

How to Connect PostgreSQL with Java

Hello Friends, Here is the article to give simple code to connecting PostgreSQL Database with Java Application.Here i am using eclipse IDE. i am connecting java with PostgreSQL database using JDBC driver. Let’s see all important steps. 1.First Download jdbc driver. write in google search box “jdbc driver for PostgreSQL”. Download suitable driver and extract. […]

How to Connect Oracle with Java

Hello Friends, Here is the article to give simple code to connecting Oracle Database with Java Application.Here i am using eclipse IDE. i am connecting java with oracle database using JDBC driver. Let’s see all important steps. 1.First Download jdbc driver. write in google search-box “jdbc driver for oracle”. Download suitable driver and extract. 2.Open […]

Convert 1D Array to 2D Array in Java

Hello Friends in this article i’m going to explain about the program to Convert 1D Array to 2D Array in Java or Convert 1 Dimension Array into 2 Dimension Array in Java . Convert One Dimension Array into Two Dimension Array in Java. Let’s see the program. Code Explanation : step 1 : if you […]

5 Ways to Concatenate Strings in Java

different ways to concatenate strings in core java programming. various ways to concatenate strings in java language. 2. By declaring strings import java.util.*; public class First { public static void main(String[] args) { String str1 = “Hello “; String str2 = “World “; String str = str1 + ” ” + str2; System.out.print(str); } } […]

Core Java Interview Questions and Answers

Hello Friends,In this article i have written lots of java Interview Questions for Fresher and experienced people. Example 1 : What is the output of following program Correct Answer A.Code Explanation : step 1 : if you debug/run the program then control goes to main method thereafter that go inside of the main.step 2 : […]

Fibonacci Series Program in Java

The definition of Fibonacci Series, next number is the sum of previous two numbers. the first two numbers of the Fibonacci series 0 , 1 The Fibonacci Sequence : 0, 1, 1,2 ,3, 5, 8, 13, 21, … Fibonacci Series Program in Java using For Loop Example 1 Fibonacci Series Program in Java using For […]