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 […]

Top 10 IDE for C/C++ in 2020

Top IDE for C in 2020. Top 10 IDE for C in 2020. Top 10 IDE for C++ in 2020. Top IDE for C/C++ in 2020 C/C++ are base of any programming language still and it popular since it’s beginning. It’s still dynamically useful in the development of numerous applications and systems around the world.C/C++ […]

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 […]

Swap Adjacent Characters of Strings in Java

Hi Friends, this article in Java Program to swap adjacent characters of a string or words. the program is below. Code explanation if you debug the program then control goes to main Method then it starts processing block of main method. inside main method i created object sc of Scanner class using new keyword and […]

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 : […]