-1
votes
1answer
87 views

Class equality in JAVA [closed]

I want to equalize two object like this: public abstract class Shape{...} // There is an abstract shape class public class Circle extends Shape { int radius; ... } ...