You are here

Page not found

Search results

  1. Java program to swap two numbers

    Java program to swap two numbers using a temporary variable. To swap numbers ... using temporary or third variable import java.util.Scanner ;   class SwapNumbers { public static ... Swapping without temporary variable import java.util.Scanner ;   class SwapNumbers { public static ...

    yogesh - 19/05/2018 - 21:22

  2. Enhanced for loop java

    Enhanced for loop java: Enhanced for loop is useful when scanning the array instead of using for ... ) Here array_name is the name of array. Java enhanced for loop integer array class EnhancedForLoop { ... Enhanced for loop program. Output of program: Java enhanced for loop strings class EnhancedForLoop { ...

    yogesh - 14/02/2013 - 10:56

  3. C programming

    ... to communicate. There are many languages such as C, C++, Java, Python and many others each having their own features. Let's discuss ...

    yogesh - 05/07/2018 - 14:12

  4. Interface in Java

    Interface in Java: Java interfaces are like Java classes but they contain only static final constants and declaration of ...

    yogesh - 22/09/2014 - 10:44

  5. Java program to bubble sort

    Java program to bubble sort: This code sorts numbers inputted by user using Bubble sort algorithm. Java programming code import java.util.Scanner ;   class BubbleSort { public static ...

    yogesh - 13/11/2013 - 17:58

  6. Java program to get ip address

    ... address of your computer system. InetAddress class of java.net package is used, getLocalHost method returns InetAddress object which represents local host. Java programming source code import java.net.InetAddress ; ...

    yogesh - 24/10/2013 - 12:08

  7. Java program to generate random numbers

    Java program to generate random numbers: This code generates random numbers in range 0 to 100 (both inclusive). Java programming code import java.util.* ;   class RandomNumbers { public static ...

    yogesh - 15/03/2013 - 21:11

  8. Java program to print Floyd's triangle

    This java program prints Floyd's triangle. Java programming source code import java.util.Scanner ;   class FloydTriangle { public ...

    yogesh - 05/02/2013 - 20:04

  9. Java program to add two matrices

    This java program add two matrices. You can add matrices of any order. Java programming source code import java.util.Scanner ;   class AddTwoMatrix { public static ...

    yogesh - 03/02/2013 - 20:01

  10. Java program print prime numbers

    This java program prints prime numbers, number of prime numbers required is asked from the user. Remember that smallest prime number is 2. Java programming code import java.util.* ;   class PrimeNumbers { public static ...

    yogesh - 03/02/2013 - 19:49

Pages