Course tips and study guides
Study plans, exam and interview preparation, projects and placements, from people a year or two ahead and the UniCircle team. Every tip names its author and is checked by an editor before it appears.
Topics#javascript#html#java#sql#react#accessibility#dsa#interview#nodejs#arrays#error handling#forms#oop#placements#postgresql#abstract classes#acid#aggregates
5 tips tagged #java
- GuideEngineeringUndergraduateInterface or abstract class in Java? A clear way to decideWhat each one can hold, how default methods changed the picture, and a short example that answers the classic OOP viva question with code.#java#oop#interfaces#abstract classesUniCircle team2 min
- GuideEngineeringUndergraduateJava exceptions: checked versus unchecked, finally and try-with-resourcesHow Java's exception types differ, the exact order in which try, catch and finally run, and why try-with-resources is the right way to close files and connections.#java#exceptions#try-with-resources#error handlingUniCircle team2 min
- TipEngineeringFirst yearJava String, the string pool and StringBuilderWhy Strings never change, why == on Strings is a classic bug, and when StringBuilder makes your code dramatically faster.#java#strings#stringbuilder#immutabilityUniCircle team1 min
- TipEngineeringUndergraduateJava equals and hashCode: the contract and why HashSet breaks without itWhat equals and hashCode must promise each other, a short demo of a HashSet holding 'duplicates' when hashCode is missing, and how records do it for you.#java#equals#hashcode#oopUniCircle team2 min
- GuideEngineeringUndergraduateJava collections: which one to use, and whenA practical guide to choosing between ArrayList, LinkedHashSet, HashMap, TreeMap, ArrayDeque and PriorityQueue, with the time costs interviewers expect you to know.#java#collections#hashmap#data structuresUniCircle team2 min
Sponsored content is always labelled. Copied material is removed. If a tip is outdated or wrong, use “Report” on the tip.
