Help on Java program

G.D.1.nirmal

Well-known member
  • Feb 16, 2008
    15,912
    1,895
    113
    35
    srilanka
    Heyy guyz if there is ny experts of Java in EK plzz help me on this codings coz they dont get compiled It would be a gr8 sort of help if u could correct this n gv me hand on this coz Im lil bit new to the programming language:):yes::yes:

    class Chandra{
    public static void main(String args[]){
    String [] chandra;
    chandra = new String[6];

    chandra[0]=HoranaEducationoffice;
    chandra[1]=Clerk;
    chandra[2]=Salarysection;
    chandra[3]=hours;
    chandra[4]=lghf;
    chandra[5]=RS;


    System.out.println("Mrs.Chandralatha works in :"+chandra[0]);
    System.out.println("Mrs.Chandralatha is a :"+chandra[1]);
    System.out.println("Mrs.Chandralatha employes in the :"+chandra[2]);
    System.out.println("Mrs.Chandralatha's work time :"+chandra[3]);
    System.out.println("Mrs.Chandralatha's Accuracy :"+chandra[4]);
    System.out.println("Mrs.Chandralatha's Salary :"+chandra[5]);
    }
    }

    Here it is
     

    Lomax

    Well-known member
  • Jan 6, 2009
    3,706
    44
    48
    double quoatations ??

    chandra[0]="HoranaEducationoffice";
    chandra[1]="Clerk";
    chandra[2]="Salarysection";
    chandra[3]="hours";
    chandra[4]="lghf";
    chandra[5]="RS";