You are here

Page not found

Search results

  1. Java program to check armstrong number

    This Java program checks if a number is Armstrong or not. Armstrong number is a ... numbers are: 0, 1, 4, 5, 9, 153, 371, 407, 8208, etc. Java programming code import java.util.Scanner ;   class ArmstrongNumber { public ...

    yogesh - 20/03/2018 - 11:16

  2. Java program to multiply two matrices

    This java program multiply two matrices. Before multiplication matrices are checked whether they can be multiplied or not. Java programming code import java.util.Scanner ;   class MatrixMultiplication { public ...

    yogesh - 20/03/2018 - 11:16

  3. Java program to find largest of three numbers

    This java program finds largest of three numbers and then prints it. If the entered ... are unequal then "numbers are not distinct" is printed. Java programming source code import java.util.Scanner ;   class LargestOfThreeNumbers { public ...

    yogesh - 20/03/2018 - 11:16

  4. Java program to compare two strings

    Java program to compare two strings, i.e., test whether they are equal or not, ... String class objects. This method is case sensitive, i.e., "java" and "Java" are two different strings. If you wish to compare strings without ...

    yogesh - 01/03/2018 - 12:53

  5. Java program to find all substrings of a string

    Java program to find substrings of a string: This program find all substrings ... method of String class is used to find a substring. Java code to print substrings of a string is given below. Java programming code import java.util.Scanner ;   class ...

    yogesh - 23/02/2018 - 14:20

  6. Java if else program

    Java if else program uses if else to execute statement(s) when a condition ... is a simple program which explains the usage of if else in Java programming language. Java programming if else statement // If else in Java code import ...

    yogesh - 10/01/2018 - 16:26

  7. Java program to perform garbage collection

    Java program to perform garbage collection: Free memory in Java virtual machine is printed and then garbage collection is done using gc ... is used to get reference of current RunTime object. Java programming source code import java.util.* ;   class ...

    yogesh - 14/01/2018 - 22:38

  8. Java static block program

    Java programming language offers a block known as static which is executed ... later we will see the practical use of a static block. Java static block program class StaticBlock { public ... what operating system is installed on a user machine. In our Java code, we check which operating system is installed on a user machine, if a ...

    yogesh - 10/01/2018 - 18:43

  9. Java hello world program

    Hello world Java program: Java code to print hello world. Java programming source code class HelloWorld { public ...

    yogesh - 10/01/2018 - 16:20

  10. Java program to convert Fahrenheit to Celsius

    Java program to convert Fahrenheit to Celsius: This code does temperature conversion from Fahrenheit scale to Celsius scale. Java programming code import java.util.* ;   class FahrenheitToCelsius { public static ...

    yogesh - 10/01/2018 - 18:31

Pages