Re: Arraylist



John. thanks for a great explanation. I am glad someone was able to
take his time out and explain me a little much better. so what you
trying to say is :

class Car
{
private String make;
private String model;
private String year;

public Car (String mk, String md, String yr) {
this.make = mk;
this.model = md;
this.year = yr;
}

public String getMake() {
return make;
}

public String getModel() {
return mode;
}

public String getYear() {
return year;
}

I think i am getting the idea of a good encapsulated program. i will
post back if i get stuck. i have good knowledge of java not very good
but good but very new to Arraylist. i thought of using arrays but when
i read the Api arraylist sounds good to me. Thanks alot Kennedy :).

.



Relevant Pages

  • Re: Setting id in a dynmaically generated checkboxlist
    ... > protected Repeater Repeater1; ... > public Category(string title, string explanation, ... > public string Explanation ... > private string explanation; ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Threading with an object and Session
    ... thread post the mail body directly to the session, ... private string _DatabaseConnection; ... public string EmailNameField ...
    (microsoft.public.dotnet.framework.aspnet)
  • Default.aspx.cs
    ... string strReturn = SendInvitations(txtName.Text, ... private string SendInvitations(string name, string body, string ... emails, string codedString, ArrayList friend) ... public string subject ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Arraylist.remove problem?? Please help.
    ... static string group; ... private string numb; ... private int messageNumber; ... public string Subject ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: variable length fields for flexibility in subroutines
    ... private string _IntBlock; ... public string IBreturn ... public string IBstreet ...
    (comp.lang.cobol)