← All tutorials
Skill Zuno · skillzunos.com · Fullstack
Java tutorial
Learn Java on Skill Zuno. This Java tutorial covers New, Easy, Medium, Hard, and Diff levels so you can study practical Java problems on skillzunos.com.
Open Java on Skill ZunoAlso see the Java interview questions.
Java is a statically typed, object-oriented language that compiles to bytecode for the Java Virtual Machine. It is widely used for enterprise back ends, Android and big-data systems. Java interviews focus on OOP, the Collections framework, equals and hashCode, generics, exceptions, concurrency and JVM memory.
Java topics covered
- Classes, interfaces, abstract classes and inheritance — Modelling with OOP in Java, and when to choose an abstract class over an interface.
- The Collections framework: List, Set, Map and their implementations — ArrayList versus LinkedList, HashMap versus TreeMap, and the cost of each operation.
- equals(), hashCode() and the contract between them — Why HashMap and HashSet depend on both methods, and how to implement them correctly.
- Generics, type erasure and wildcards — Type-safe collections, why generic types disappear at runtime, and the meaning of ? extends and ? super.
- Checked and unchecked exceptions — When to declare exceptions, try-with-resources, and good exception-handling habits.
- Streams, lambdas and functional interfaces — Processing collections declaratively with map, filter and collect, and the built-in functional interfaces.
- Threads, ExecutorService, synchronized and volatile — Running work on thread pools, and how synchronized and volatile make memory changes visible.
- JVM memory: heap, stack and garbage collection — Where objects and local variables live, and how generational garbage collection reclaims memory.
What you can learn
- Java tutorial for beginners and experienced developers
- Level-based practice: New, Easy, Medium, Hard, and Diff
- Fullstack topics alongside Java on skillzunos.com