This is my first computer course in life, and i started with Java... don't ask why, but plz help me if u r an expert. This is for my school assignment.
we have to construct a method called isOlder.
this method returns true if person A (object of a class) is older than person B, false otherwise. and we are just comparing at the age of this two people.How should i code it if we are not allowed to use if statement?
Big tnx!