Java program to display prime number between the given range.
Below code is to display Prime number between a given range:
public class Prim
public static void main(String args)
Scanner sc=new Scanner(System.in);
System.out.println("Please enter the first number :");
System.out.println("Please enter the second number :");
Latest PostsJava program to implement at least six string method. Java program to create list files in current working directory. Java program to create a treeset and stack. Java program to create frame with a button. Java program to create frame with three scrolls & change the background color using RGB function. Java program to create a frame and checkbox group with fine checkboxes. Java program to create a text field that allows numeric value and in specified length. Java program to implement mouse event in an applet. Java program to create a class by extending the thread class and use its methods. Java Program to Implement Exception Handling.
© Copyright - 2018 - 2021 | All rights reserved at Funda of Web IT