🔒 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
  • 705
    Views
  • 3
    Participants
Last reply from:
lemmor

Trending Topics

Online now

Members online
1,316
Guests online
3,422
Total visitors
4,738

Forum statistics

Threads
2,305,884
Posts
29,168,354
Members
1,195,478
Latest member
PiekaBoo
Back
Top