Q531. How do Angular route guards and lazy loading work together?
The router supports guards that run during navigation: CanActivate, CanActivateChild, CanDeactivate for unsaved forms, CanMatch for feature flags, and Resolve to prefetch...
Technical Question Bank · Peer-Reviewed
Search and filter frequently asked interview questions across technical, programming, and behavioral domains. Tailor your interview preparation by difficulty for freshers or experienced developers (2,728 available).
The router supports guards that run during navigation: CanActivate, CanActivateChild, CanDeactivate for unsaved forms, CanMatch for feature flags, and Resolve to prefetch...
Vue 3 batches reactive updates with a scheduler. When trigger fires, the affected render effects and watchers are queued and flushed in a microtask, so several synchronou...
Both run a command for many files, but they differ in safety and performance. ```bash find . -name '*.tmp' -exec rm -- {} + # batches, handles spaces find . -name '*.tmp'...
Ruby resolves a call by walking the receiver's singleton class, then the class, then included modules and superclasses, in order. `Module#ancestors` prints the chain. ```...
Swift's structured concurrency builds on `async`/`await`, `Task` and `TaskGroup`. An `async` function can suspend without blocking a thread, and `await` marks a potential...
A coroutine is cooperative: cancellation sets a flag that the coroutine must observe. Suspend functions from `kotlinx.coroutines` check automatically and throw `Cancellat...
.NET uses a generational, compacting, tracing collector. New objects go to generation 0. Survivors are promoted to gen 1 then gen 2. Gen 0 collections are frequent and ch...
Templates parameterise code by type and are instantiated at compile time, giving zero-cost abstraction. ```cpp template T maxOf(T a, T b) { return a > b ? a : b; } templa...
Ownership allows one owner, but graphs and shared state need more. Rust pushes the choice into types. - `Rc`: single-threaded reference counting. `clone` increments a cou...
`context.Context` carries deadlines, cancellation signals and request-scoped values across API boundaries and goroutines. It is how cancellation and timeouts propagate th...
HireXTech uses essential storage to remember your study preferences and third-party advertising cookies via Google AdSense in compliance with GDPR. You can choose to enable essential cookies only or accept all cookies. Read our Privacy Policy.