Advertisements

Practice Java Programs- Class X (ICSE)

Constructor has a same name as the class name.  The question are based on constructor and are really…

Write a program in java to remove zero from a number

INPUT:-02305 OUTPUT:-235 //To remove zero from a number using String import java.io.*; class zero$…

Write a program in java to find the highest common factor(HCF)

import java.io.*; class hcf { public static void main(String [] args)throws IOException { Buffered…

Java program to check whether a number is armstong or not

import java.util.Scanner; public class find { public static void main(String[] args) { System.out.pr…

Java program to find factors of a number

import java.util.Scanner; public class factor { public static void main(String[] args) { System.out.…

WAPJ in Java program to print fibonacci series

import java.util.Scanner; public class fibonacci { public static void main(String[] args) { Scanner…