Sunday, March 26, 2023
Latest:
Template method design pattern
Write a Program to Find Minimum Common Value
Write a Program to Find Closest Number to Zero
Write a Program to Find Third Maximum Number
Write a Program to Remove Stars From a String
Upokary
Quality information
Health
Life
Fashion
Food
Code
effective java
Design method signatures carefully – effective java
Why prefer interfaces to abstract classes?
Obey the general contract when overriding equals in Java
Consider implementing comparable of a class in Java
Override clone judiciously in java
Always override tostring in java class
Always override hashcode when you override equals
Consider a builder when faced with many constructor parameters
Consider static factory methods instead of constructors
Prefer try-with-resources to try-finally in Java
← Previous