Java Blog

 public class JAVA_035

    public static void main(String[] args)
       int[] array={10,-1,28,13,44,5,36,97,-18,11};

       System.out.println(\"The contents of the Array are :\");

       for(int i=0;i<10;i++)
          System.out.println(\"\\t\\t\\t Array[\" + i + \"] = \" + array[i]);

    Related Post:
  1. Program to show the use of Labeled Break Statement

  2. File handling program to copy bytes from one file to another

  3. Program to show an example of using a Static Nested Class

  4. Socket program of multi client chat server

  5. Program to show an example of extracting subStrings from a String

  6. Develop a CORBA based application for addition of two complex numbers and displaying the result on client side

  7. Program to show an example of using Abstract Class and Abstract Method

  8. Program for calculating area of a circle on server side,when a client sends request along with given radius and then displaying result on client side

  9. Program of reading and writing primitive data

  10. An applet program to take user input and display

  11. Program that reads and writes random access file

  12. Program to delete mth element from an input string

  13. Corba program of date operations

  14. Encrypt the text that you want to send on the client side. The server side decrypts it after receiving. Append server time after each word in the sent

  15. CORBA program for displaying the date and time of the server machine, client machine and the difference between these two date and time

  16. Program to show an example of using a Non-Static Nested Class

  17. File handling program to display directory contents

  18. An applet program of linear sort

  19. Game application in CORBA for which player will guess a number between 1 to 100, which will be compared to the random number generated by the class

  20. Program to show an example of using a recursive method in a class

Didn't find what you were looking for? Find more on Program to declare, initialize and print an array of integers