1. Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

Array explanation

Discussion in 'Coding, Programming' started by Bhadz141, Sep 23, 2016.

  1. 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]);
    }
    }
     
  2. so anung ipinaglalaban mo dito??
     
  3. lemmor

    lemmor Addict Established

Tags / Keywords: