🔒 Closed Array explanation

Status
Not open for further replies.

Bhadz141

Grasshopper
public class Program {
public static void main(String[] args) {

String A,B,C,D;

A = "1";
B = "2";
C = "3";
D = "4";

String[ ] myNames = { A, B, C, D};
System.out.println(myNames[2]);
}
}
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 710
    Views
  • 3
    Participants
Last reply from:
lemmor

Trending Topics

Online now

Members online
745
Guests online
3,984
Total visitors
4,729

Forum statistics

Threads
2,326,634
Posts
29,230,384
Members
1,166,320
Latest member
Archange123
Back
Top