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

Trending Topics

Online now

Members online
371
Guests online
11,927
Total visitors
12,298

Forum statistics

Threads
2,370,834
Posts
29,455,731
Members
1,031,528
Latest member
chikoy108104
Back
Top