How to call an array in one class in another class

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sajid shamshad
    New Member
    • Oct 2010
    • 2

    #1

    How to call an array in one class in another class

    hi
    i have two classes in java and an array of string in one class how to call it in the second class with the help of its object any one help me
    this is my array

    String text[] = new String[]{"Arte","Arquit ectura","Famili a","Moda","Coti lleos","Cine"," Libros","Histor ia","Pintura"," Musica","Tenden cies","Modernim so","Pop art","Masteiali smo","realities ","filosofia"," moda","fotograf ia","religion"} ;
Working...