SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - missing return statement
at equals.E.equals(E.java:14)
at equals.Main.main(Main.java:16)
Why are you comparing an E to an F by the way?
abalfazl hossein wrote:I can define a method by the name abalfazl that can compare objects like this:
abalfazl hossein wrote:Why equals is used for this purpose?
abalfazl hossein wrote:equals works without override.How?Why for comparison two object needs to override
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.