Arrays And Vectors - Online Code


This code demonstrates use of Array and Vector to store the elements in Index form.

Source Code

import java.util.*;

public class Main

    public static void main(String[] args)
     int array[]=new int[10];
     for(int i=0;i<10;i++)
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.


No comment yet. Be the first to post a comment.