Search:

Type: Posts; User: davie

Search: Search took 0.81 seconds.

  1. How to create a new object of another class within a method

    I have a class People and a class Details

    I need to create a new Details object from within a method that is in the People class but really not sure how to do it. Can anyone point me in the right...
  2. Replies
    3
    Views
    1,145

    Re: how to initialise set in a constructor

    thankyou for your response, I want to create a new set containing the numbers that which are being passed for duplication. The numbers are just single numbers not actual phone numbers and there are...
  3. Replies
    3
    Views
    1,145

    how to initialise set in a constructor

    Hi, I need to initialise a set in the constructor. I have a set that already contains some values called "numbers" but I need to initialise this set called "newNumbers" with the same values in the...
  4. Re: way too hard to explain this in short. please help guys!!

    shoudn the last line be:

    this.personInterests.add(eachInterest );

    ??
  5. How to create a sorted set from the contents of an array

    Hello people,

    I need to write a public class method that has an array of integers as its argument and returns a sorted
    set containing all of the elements of that array.
    Im really stuck on this...
  6. How to initialize an array to contain equal numbers of a string

    Hello guys

    im working on a program and in the constructor i need to initialize an array with equal numbers of the Strings "Y" & "N". the constructor has an int argument which will specify how...
  7. How to create a StringBuilder object that cntains equal numbers of a string

    Hi

    im working on a program and in the constructor i need to initialize a StringBuilder object with equal numbers of a the letters Y & N the constructor has an int argument which will specify how...
  8. Thread: maintainability

    by davie
    Replies
    4
    Views
    2,721

    Re: maintainability

    Hi ive looked at the other thread and i still cant see which way to go with this! anyone got any advice?
  9. Thread: maintainability

    by davie
    Replies
    4
    Views
    2,721

    maintainability

    Hi, I am working on a code and i need to change the code to make it easier to maintain. I have learned about re use of code so im thinking this is the way i shud be looking at the code but I cant...
Results 1 to 9 of 9