Do you expect value to be recalculated each time you change cost? If so it's wrong. You need to add setInsuranceValue() call to method where you set cost.
Type: Posts; User: trod
Do you expect value to be recalculated each time you change cost? If so it's wrong. You need to add setInsuranceValue() call to method where you set cost.
Looks like you set default thread to sleep. So it's normal. How do you call the warte(int ms) ?
At first glance private ArrayList<Lebewesen> lebewesen of class Lebewesen is not being initialized. That's why you getting NPE.
equals may be something like this:
public boolean equals(Object obj){
if (!(obj instanceof LabModule7Num57))
return false;
LabModule7Num57 entry =...
Please paste your code here to get us better understanding about the issue.
I agree with GregBrannon. If you read articles w/o practice, it's not the right way. As first step, create a simple Java program with several classes, object instances according to your feel how it...
Hi there, May I join to the club of Java experts? I am from Russia, Saint-Petersburg. Now I am trying to ramp up with Java EE (JBoss, Spring, and stuff like this).