Java

  • Home
  • How to make connection between JDBC and latest version of MySql 8.0.11 and insert a record in table with the help of Java Program

How to make connection between JDBC and latest version of MySql 8.0.11 and insert a record in table with the help of Java Program

Step-1 First you create a database of university Step-2 After creating database now create a table of employee Step-3 Now connect mysql-connector-java-8.0.11.jar Step-4 Now write java code which are given…

Program to check whether a number is prime number or Not in java

In this program ,we check this number is prime number or not in java programming language.. PrimeNumber.java import java.util.Scanner; class Prime Number { public static void main(String args[]) { int…

Program to Check Whether a Number is Fibonacci Number/Series or Not!

FibonacciNo.java class FibonacciNo { public static void main(String args[]) { int n=15; //size of upper limit int a=0; int b=1; int c=a+b; while(c<=n) { System.out.print(""+c); c=a+b; a=b; b=c; } }…

Program To Check Whether this Year is Leap Year Or Not in Java…

Program to find Leap Year Or Not How To check this year is Leap Year or Not With The Help Of Programming of 2019 Program to find Leap Year in JAVA Programming Language by…

Program To Check Whether the Number Is Even or Odd in Java .

Here In This Article will be saying that ,how to check whether this number is even or not in java programming language. and How to check Even or Odd Number… Program to check whether…

Program to Create Geometric Sequence in java programming language by using user Input.

Geometric sequence program in java GeometricSequence.java import java.util.Scanner; class GeometricSequence { public static void main(String args[]) { int n=5; //limit int r=2; //common ratio int a=2; //terms int sum=0; //sum…

Program To Find Whether This Number is Armstrong Number or Not In Java.

Program To Find Armstrong Number.. class ArmstrongNumber {     public static void main(String[] args)   {       int c=0,a,temp;        int n=153;//It is the number to check armstrong       temp=n;       while(n>0)       {       a=n%10;       n=n/10;       c=c+(a*a*a);       }       if(temp==c)       System.out.println("armstrong number");         else           System.out.println("Not armstrong number");       }   }    /*Output: armstrong number…

Program to print HELLO WORLD in Java without using semicolon ‘;’

Here In this article, we will be saying that ,how to print Hello World Without Using Any Semicolon with the help of java programming language… Hello World Program without using any…

Java Advance Top 50+ Interview Questions!

As often as possible asked About Java talk with Interviews with point by point answers and models. Java Interview Questions Tips and deceives for splitting Java meet. Glad Java occupation chasing! JAVA Advance top…