Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Java Programming Tutorial - 7 - (Array in Java) - HD

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
802 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 24, 2011

In java Program the main class name has to be same to the program name.

The main method have to be declared as public static void main(String args[])

It is another Command line argument(cla.) program where
5 cla are added and their result is displayed.

To covert cla into integers we have to use
int i = Integer.parseInt(args[i]).

We can take array in java using int a[]= new int[5];

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more