HTML Responsive Images and Source Selection
HTML Responsive Images and Source Selection. Learn the reasoning, a practical example, common mistakes and an interview exercise.
Focused explanations and longer guides, with worked scenarios, common mistakes and interview exercises across every chapter.
Showing 481–504 of 825 articles
HTML Responsive Images and Source Selection. Learn the reasoning, a practical example, common mistakes and an interview exercise.
CSS Responsive Units and Content Constraints. Learn the reasoning, a practical example, common mistakes and an interview exercise.
HTML Landmarks and Meaningful Page Structure. Learn the reasoning, a practical example, common mistakes and an interview exercise.
CSS Z-Index and Stacking Contexts. Learn the reasoning, a practical example, common mistakes and an interview exercise.
How ArrayList grows its backing array by 1.5x, why add is amortized O(1), and when ensureCapacity or a different list actually helps.
Why TreeSet and TreeMap drop elements when a Comparator disagrees with equals, and how to write comparators that obey the full contract.
How exceptions travel through CompletableFuture chains, when to use exceptionally, handle or whenComplete, and why causes arrive wrapped.
Why check-then-act on ConcurrentHashMap still races, and how merge, compute and putIfAbsent make compound updates atomic per key.
The equals and hashCode contract explained: why equal objects need equal hash codes, how HashMap uses both, and how to write a correct pair.
Checked vs unchecked exceptions in Java, where to catch, when to wrap with a cause, and how to avoid swallowing failures at the wrong layer.
How shutdown, shutdownNow and awaitTermination differ in ExecutorService, and the safe pattern for stopping thread pools without losing work.
How Java memory leaks happen despite garbage collection: GC roots, reachability, retained size, and finding the reference chain in a heap dump.
How HashMap works internally: hash spreading, bucket index, collisions, load factor resizing and the Java 8 switch from chains to trees.
How to make a class immutable in Java: final fields, no setters, defensive copies of mutable inputs and outputs, and safe publication.
When to use Instant, LocalDateTime, ZonedDateTime and OffsetDateTime, and how daylight saving gaps and overlaps break naive date code.
When to return Optional in Java, why get and isPresent checks miss the point, and why Optional fields, parameters and collections are a smell.
What Java records generate, why they are only shallowly immutable, how compact constructors copy and validate, and where records do not fit.
Why Java stream intermediate operations do nothing until a terminal operation runs, how elements flow one by one, and where laziness bites.
Why reusing a Java stream throws IllegalStateException, how to share data with a Supplier or a collection, and what toList returns.
Java String equals vs ==: why == compares references, how the string pool and compile-time constants make it seem to work, and safe comparisons.
What synchronized guarantees in Java: mutual exclusion, visibility and reentrancy, plus how to guard multi-field invariants with one lock.
Why one Java thread may never see another's write, what volatile guarantees, and how happens-before rules make publication safe.
How try-with-resources closes resources in reverse order, keeps the primary exception with suppressed close failures, and beats finally.
When Java 21 virtual threads help, why they do not speed up CPU-bound work, and how pinning, pooling and resource limits trip teams up.
No notes match that… try another filter.