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...
Type: Posts; User: sabbath
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...
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...
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...
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:...
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.
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....