Search:

Type: Posts; User: armela

Search: Search took 0.65 seconds.

  1. Re: Parsing a txt file having different number of spaces

    I am sure you already found the answer but i will answer in case anyone else need to do something similar. Based on your example here, you could have used StringTokenizer:

    StringTokenizer st...
  2. Replies
    1
    Views
    878

    Re: Spring Webservice - SOAP validation error

    This usually means that the soap xml 'sampleRequest' payload expected has been adjusted slightly. So an existing tag or sub tag/field maybe have changed the type of data it stores or they may have...
  3. Replies
    3
    Views
    834

    Re: Solve my problem

    Can you show us what you have done so far? Please share some of your code to get better support.
  4. Replies
    2
    Views
    651

    Re: Var ends up being 0

    You creating local variables here :
    int a = keyboard.nextInt(); // FOR TEST I GAVE 3
    System.out.println("Donnez un autre entier:");
    int b = keyboard.nextInt(); // FOR TEST I GAVE 4

    these values...
  5. Replies
    1
    Views
    1,341

    Re: How to add a new object to an object array?

    I see a couple of issues here:

    public Book[] arr = new Book[countElements]; You creating your array of 0 length here. Initializing should be done in the constructor like this

    public...
  6. Replies
    1
    Views
    649

    Re: Promblem with JUnit testing

    You can use the assert keyword to do this:

    @Test
    public void randomStarter(){ // Set this.currentPlayer to 1 or 2 based on random.
    Random randomizer = new Random();
    ...
Results 1 to 6 of 7