Category: Java Programs for Interviews

Java Programs for Interviews

program for prime number in java

program for prime number in java

Learn Java Programming for Beginners Prime number is number which is divisible by 1 and itself.for example Number 7 is prime number because it is divisible by 1 and 7 only.whereas 8 is divisible by 1,2,4,8...

Fibonacci series program in java

Fibonacci series program in java

Learn Java Programming for Beginners import java.util.*; class Fibonacci_series { public static void main(String args[])throws Exception { int f,q,i=0; Scanner sc=new Scanner(System.in); System.out.println(“Enter a number: “);       //input how many no is Fibonacci...

convert string to int java

convert string to int java

Learn Java Programming for Beginners There are Two methods to convert String to integer,first is Using Integer.parseInt() and other is without using Integer.parseInt() method. Method 1: In this method i am using Integer.parseInt(),this method...

How set path in java cmd

How set path in java cmd

Learn Java Programming for Beginners Watch video of how to set path in java cmd  in windows 7 64 bit permanently using cmd how to set path in java in windows 7 64 bit...