Search:

Type: Posts; User: E.K.Virtanen

Search: Search took 0.23 seconds.

  1. [SOLVED] Re: ArrayList.remove() problem. (solved)

    This is not the most elegant way, but gives the idea how i decided to solve it. I loop through arraylist until condition comes true, then remove object from arraylist with correct reference.

    ...
  2. [SOLVED] Re: ArrayList.remove() problem.

    Ok. I _thougth_ that toString method at class would do the work.
    I stop guessing a go with iterating :) Thanks for help.
  3. [SOLVED] ArrayList.remove() problem. (solved)

    Hi.

    I created a simple test list while studying ArrayList. For some reason (some obvious i guess) i cant remove objects from list.
    There is tiny class Person with some values, which are added to...
  4. Replies
    4
    Views
    509

    [SOLVED] Re: Problem to learn exceptions.

    Ok. It took few days (and championship of icehockey by my favorite hockey team) but i finally got it.
  5. Replies
    4
    Views
    509

    [SOLVED] Re: Problem to learn exceptions.

    Sorry about mis-information. I added compiler errors as quote in first program.
    I thought the program is so small, that i would not need to explain it's purpose with my poor english. But ill try if...
  6. Replies
    4
    Views
    509

    [SOLVED] Problem to learn exceptions.

    Hi all.

    Im trying to learn how to make a own exceptions. I guess it's up to the structure im using etc. I have dropped from 11 errors down to 4. But now i would be pleased to get some help to get...
  7. Replies
    3
    Views
    297

    [SOLVED] Re: Problem with return value.

    Thank you both with this. After pondering your replies and my code, i got it figured out.
  8. Replies
    3
    Views
    297

    [SOLVED] Problem with return value.

    Hi.

    Still strugling with learning objects.

    Basic idea is, that object Piste(x, y) checks if parameters are in proper range and returns a string in format "(xLoc, yLoc)".
    .siirrä(x, y) adds...
  9. [SOLVED] Re: Learning OOP; Gettin error messages i cant explain.

    Thank you Norm. Feeling bit stupid here, but i guess it's the price of learning new :)
    Got it working.
  10. [SOLVED] Learning OOP; Gettin error messages i cant explain.

    This is a "homework" of self-paid course of Java basics.

    Mission is to create a class Tulostaja, which ask's two integers and then calls method Summa() from a class Laskin. The code where i need...
  11. Replies
    0
    Views
    197

    Hello for all.

    Hi.

    Im E.K.Virtanen and im from Finland. Im "self-learned" basic programmer, interested about programming since early 80's.

    Now im learning Java in a course, arranged by un-named company....
Results 1 to 11 of 11