package com.sibisoft.faizaniftikhartdd;

public class Dollar extends Money
{
	public Dollar() 
	{
		
	}
	public Dollar(int amount)
	{
		this.amount = amount;
	}
	public Dollar times(int multiplier)
	{
		return new Dollar(this.amount * multiplier);
	}
	public boolean equals(Object object)
	{
		Money dollar= (Money) object;
		return amount == dollar.amount;
	}
	
	public int hashCode() 
	{
		return (this.hashCode()%2)+amount;
	}
}

@@ -311,22 +311,21 @@
 %09%09Money 
-dollar
+money
 = (Money
@@ -358,14 +358,13 @@
  == 
-dollar
+money
 .amo

Change equal method variable from Dollar to Money