Java Programming
Java Programming
May 22, 2025 at 06:22 PM
*If you want to get hired as a Java Full Stack Developer in 2025, you should be able to answer these 125 important interview questions :* ∟ HTML (15 Qs) • Difference between
and • Semantic tags in HTML5 • What is doctype? • Role of meta tags in SEO • What are ARIA roles? • How do forms work in HTML? • What are custom data attributes? • How does browser parse HTML? • How to implement lazy loading in images? • How does tag work for responsive design? • Differences between HTML4 vs HTML5 • What is an iframe and how secure is it? • How to make HTML5 accessible? • What is Web Storage API? • How to optimize HTML for SEO? ∟ CSS (15 Qs) • Explain the Box Model • Specificity and cascade – how it works • Flexbox vs Grid – when to use what • Media queries in responsive design • Visibility: hidden vs display: none • How to center a div both ways • z-index and stacking context • CSS variables – why and how • What are pseudo-elements like ::before? • Position: relative vs absolute vs fixed • Units: px vs em vs rem vs % • Dark mode toggle with CSS • CSS transitions vs animations • Inline vs external CSS pros/cons • Responsive layout without media queries? ∟ JavaScript (15 Qs) • What is closure? • Event loop and microtask queue • var vs let vs const • == vs === • What is hoisting? • Arrow vs regular functions • What is currying in JS? • Debounce vs throttle – use cases • Event delegation • Prototypal inheritance • Memory leaks in JS – detection • Scope chain and context • WeakMap vs Map • async/await vs Promises • Module pattern in JS ∟ React / Angular / VueJS (15 Qs) • Virtual DOM – what and why • useEffect vs useLayoutEffect • Controlled vs uncontrolled components • React Context API use cases • Lifecycle methods in React • State management in large apps • Angular’s change detection • Dependency Injection in Angular • Routing in React vs Angular • SSR vs CSR • Lazy loading components • Hooks – useState, useReducer, useCallback • Higher-Order Components (HOCs) • Vue’s reactivity system • Two-way binding in Angular ∟ Java & OOPS (15 Qs) • Interface vs Abstract class • Overloading vs Overriding • Final vs static vs transient • HashMap vs ConcurrentHashMap • Garbage collection in Java • What are design patterns? • What is the Java Memory Model? • SOLID principles in Java • Exception handling flow • Functional interfaces • JVM vs JRE vs JDK • Composition vs Inheritance • What is polymorphism? • What is encapsulation? • Constructor overloading ∟ Spring Boot + JPA + Security (15 Qs) • What is Spring Boot? • How does Dependency Injection work? • Autowiring with @Autowired • @Transactional – use case • CrudRepository vs JpaRepository • How does JPA handle relationships? • Lazy vs Eager fetching • Spring Security flow • JWT Authentication in Spring • Exception handling in Spring Boot • Entity vs DTO • Hibernate LazyInitializationException • Spring Boot starter dependencies • OAuth2 in Spring Security • Custom validations using annotations ∟ Frontend Integration (15 Qs) • React with Spring Boot – API integration • How Thymeleaf templates work • CORS and how to handle it • REST vs GraphQL integration • SSR + REST API – how it works • WebSockets integration with Spring Boot • Form validation – frontend vs backend • CSRF protection • Environment-based config in frontend • Auth flow – JWT and cookies • API versioning • Micro frontend concepts • Error handling in frontend/backend • React fetch vs Axios • SPA vs MPA – pros and cons ∟ Database + ORM (15 Qs) • JDBC vs JPA • Lazy vs Eager loading • JPQL vs Native queries • N+1 problem in Hibernate • Connection pooling • Optimistic vs Pessimistic locking • Indexing strategies • ACID properties • Database migrations (Flyway) • OneToMany vs ManyToOne • @Entity lifecycle • Embedded vs Relational design • Writing custom queries • Performance tuning queries • Isolation levels in transactions ∟ Testing + DevOps (10 Qs) • JUnit vs Mockito • Integration test vs Unit test • Test coverage tools • CI/CD with GitHub Actions • Docker for Spring Boot • Jenkins pipeline overview • SonarQube for code quality • How to mock REST calls • Blue-green deployment • Rolling back faulty builds ∟ Machine Coding Round (10 Qs) • Design LRU Cache • Build URL Shortener • Design Splitwise • Create Elevator System • Food Delivery System • Ride Sharing App (Uber) • Rate Limiter design • In-memory key-value store • Library Management System • Job Scheduler with Priority Queues *React ❤️ for more*
❤️ 👍 😮 🙏 🇮🇳 😂 👽 🖕 243

Comments