Java Full Stack with React Last-Minute Revision
Quickly revise the questions you picked. Add questions from the interview-questions lists with Save to → Last-Minute Revision.
30 quick revision notes for Java Full Stack with React
- String is immutable, so use StringBuilder when building strings inside loops to avoid creating many temporary objects.
- Always override equals and hashCode together, using the same fields, or hash-based collections will fail to find objects.
- HashMap allows one null key, is not thread-safe, and converts large buckets to red-black trees since Java 8.
- ConcurrentHashMap gives thread-safe reads and writes without locking the whole map and does not allow null keys or values.
- Checked exceptions must be handled or declared, while unchecked exceptions extend RuntimeException and signal programming errors.
- G1 is the default garbage collector since Java 9, and ZGC offers very low pause times for large heaps.
- Java 21 is a long-term support release with virtual threads, pattern matching for switch and record patterns.
- Stream intermediate operations are lazy and nothing runs until a terminal operation like collect or count is called.
- Spring Boot 3 requires Java 17 or later and uses jakarta packages instead of javax packages.
- Constructor injection is preferred because dependencies become explicit, fields can be final and tests need no Spring context.
- Singleton is the default bean scope, so Spring beans must be stateless or thread-safe.
- @Transactional works through a proxy, so self-invocation and private methods bypass it.
- By default Spring rolls back transactions only for unchecked exceptions and errors, not checked exceptions.
- @OneToMany and @ManyToMany are lazy by default, while @ManyToOne and @OneToOne are eager by default.
- Fix the N+1 query problem with JOIN FETCH, @EntityGraph, batch fetching or DTO projections.
- Use ddl-auto validate or none in production and manage schema changes with Flyway or Liquibase.
- Optimistic locking uses a @Version column and throws an exception when another transaction updated the row first.
- GET, PUT and DELETE are idempotent, while POST is not, so payment APIs use idempotency keys for safe retries.
- 401 means the user is not authenticated, while 403 means the user is authenticated but not allowed.
- JWTs are signed, not encrypted, so never put passwords or sensitive personal data in the payload.
- Store passwords with BCrypt or Argon2, which add a salt and are deliberately slow to resist brute force.
- CORS is enforced by the browser, and the server must allow the frontend origin in its response headers.
- WHERE filters individual rows before grouping, while HAVING filters groups after aggregation such as COUNT or SUM.
- A composite index follows the leftmost prefix rule, so column order should match the most common filters.
- Use parameterised queries to prevent SQL injection and never concatenate user input into SQL strings.
- Keyset pagination stays fast on deep pages, while large OFFSET values force the database to skip many rows.
- React state updates are asynchronous snapshots, so use the updater form when the next state depends on the previous one.
- Use stable unique IDs as React list keys, not array indexes, when items can be reordered or removed.
- Promise microtasks run before setTimeout callbacks once the call stack is empty.
- Create React App is deprecated, so new single-page apps commonly use Vite, and SEO-heavy apps use a framework like Next.js.
Night-before checklist
- Revise your saved questions on this page once, aloud.
- Read the quick notes and mark any you cannot explain in one line.
- Rehearse a two-minute self-introduction and two project stories.
- Keep CV, ID, laptop charger and interview link ready; sleep on time.
Frequently asked questions
How does Last-Minute Revision work?
On any question page, open Save to → Last-Minute Revision. Saved questions appear here with their answers, so the night before an interview you revise only what you found hard.
Is my list saved?
Yes, in this browser. Guests can save 5 questions; free accounts can save 20 for revision and 100 for the 7-day plan.
What should I revise last before a Java Full Stack with React interview?
Your saved misses first, then the quick notes on this page, then one or two project stories. Avoid learning brand-new topics the night before.
Find questions to save
Company-wise Java Full Stack with React questionsExperience-wise Java Full Stack with React questionsRole-wise Java Full Stack with React questionsCity-wise Java Full Stack with React questionsMost asked Java Full Stack with React questionsScenario-based questionsPractical / hands-on questionsHR & behavioural questionsJava Full Stack with React mock interviewOnline assessment questionsTechnical round questionsManagerial round questionsJava Full Stack with React topic sheets