Search:

Type: Posts; User: sabbath

Search: Search took 0.20 seconds.

  1. Replies
    1
    Views
    245

    write lines which start without cahracter

    NB: thread heading is littele bit wrong, I want to exclude lines from writing to output which start with specific character
    human
    donkey
    monkery
    I want to write human and monkey, and exclude line...
  2. Replies
    5
    Views
    451

    Re: Ask objects with parameters in Arraylist

    Okay, I wonder now how I can say that I have dog with age 5 in list. This one says sentence so many as I have that item in list. How can I look through list without using for loop than?


    public...
  3. Replies
    5
    Views
    451

    Re: Ask objects with parameters in Arraylist

    I know that I could use Dogs.get(); to print out certain object from list but I want to print out everything if that if statement is filled. :D

    EDIT: It works now with that code. Anyway is there...
  4. Replies
    5
    Views
    451

    Ask objects with parameters in Arraylist

    I have a dog class type list which contains many objects of that class(many dogs each new object) with constructor input. For example list Dogs with type dog contains dog with weight, age, length:...
  5. [SOLVED] Re: If input value is wrong, throw error and reenter

    Error, and cant run code: Duplicate local variable a. Appears when i ask to enter again value if previous one was wrong and store it into same variable.
  6. [SOLVED] If input value is wrong, throw error and reenter

    Hi, I am very new to java programming. I would like to let user enter the number greater than 0, and if i entered number is 0 then would inform user with message and let enter that number again....
Results 1 to 6 of 6