You are here

Page not found

Search results

  1. Reverse a number in Java

    Java program to find the reverse of a number, for example, if the input is 951, the output is 159. Java program to reverse a number import java.util.Scanner ; ... reverse or invert a number using recursion. You can use this code to check if a number is a palindrome number or not. If on reversing a ...

    devyog - 05/12/2019 - 20:03

  2. Java program to convert Fahrenheit to Celsius

    Java program to convert Fahrenheit to Celsius: This code does temperature conversion from the Fahrenheit scale to the Celsius ... = window.adsbygoogle || []).push({}); Java temperature conversion program import java.util.* ; ...

    devyog - 04/12/2019 - 19:46

  3. Java program to print alphabets

    Java program to print letters (i.e., a, b, c, ..., z in lower case) on the screen using a loop. Java program class Alphabets {   public static ... program: Printing alphabets using a while loop (The code snippet shows only the body of the main method): char c = ...

    devyog - 04/12/2019 - 09:16

  4. Multiplication table in Java

    Java program to print multiplication table of a number entered by a user using ... = window.adsbygoogle || []).push({}); Java program to print multiplication table import ... Download Multiplication table program class file. Code: import java.util.Scanner ; class Tables { ...

    devyog - 30/11/2019 - 20:57

  5. Bubble sort in Java

    Bubble sort in Java to sort numbers of an array in ascending/descending order. Bubble sort program in Java import java.util.Scanner ; class BubbleSort {   public ...

    devyog - 05/12/2019 - 20:40

  6. Java program to get IP address

    Java program to print the IP (Internet Protocol) address of a computer system, we use InetAddress class of java.net package, the getLocalHost method returns InetAddress object, which represents the localhost. Java IP address program import java.net.InetAddress ; ...

    devyog - 05/12/2019 - 19:57

  7. Linear search in Java

    Java program for linear search: Linear search is straightforward; to check if ... || []).push({}); Linear search Java program     import java.util.Scanner ; class LinearSearch {   public ...

    devyog - 05/12/2019 - 08:57

  8. Swapping of two numbers in Java

    Java program to swap two numbers with and without using an extra variable . ... || []).push({}); Swapping program in Java import java.util.Scanner ; class SwapNumbers {     public ...

    devyog - 05/12/2019 - 21:15

  9. Matrix multiplication in Java

    Java program to multiply two matrices, before multiplication, we check whether ... = window.adsbygoogle || []).push({}); Java matrix multiplication import java.util.Scanner ;   class MatrixMultiplication {   ...

    devyog - 05/12/2019 - 20:30

  10. Transpose of a matrix in Java

    Java program to find the transpose of a matrix (of any order), we interchange ... and columns to obtain the transpose. Matrix transpose in Java import java.util.Scanner ; class TransposeAMatrix {   public ...

    devyog - 05/12/2019 - 20:21

Pages