package com.sibisoft.faizaniftikhartdd;

public class Franc extends Money 
{
	public Franc() 
	{
		
	}
	public Franc(int amount)
	{
		this.amount= amount;
	}
	Franc times(int multiplier) 
	{
		return new Franc(amount * multiplier);
	}
	public boolean equals(Object object) 
	{
		Money franc= (Franc) object;
		return amount == franc.amount;
	}

}







@@ -304,21 +304,21 @@
 franc= (
-Franc
+Money
 ) object

Change Franc cast into Money