Tài Liệu Phỏng Vấn Ôn tập phỏng vấn Java

hirosi212

Staff member
Moderator
Thành viên cấp cao
FPT Student
FUO Point
601,016

JAVA CORE​

  1. OOP
    • Interface vs Abstract class: cần hiểu về trừu tượng, kế thừa
    • Overriding vs Overloading: cần hiểu về đa hình
    • Access modified
  2. String
    • Mutable vs Immutable, String vs String Buffer vs String Builder
    • String pool
    • == và equals
  3. Passing Mechanism in Java
  4. Final variable, final method, final class
  5. Static variable, static method, static class (inner class vs nested class)
  6. Try/catch vs Throw Exception, try-catch resource
  7. Synchronize vs Asynchronize
  8. Multi-threading
  9. Lambda (Predicate, Function, Consumer, method reference ...)
  10. Collection
    • Collection stream (filter, map, reduce, ...)
    • Collections, hashmap, hashset (VD so sánh tốc độ khi add/access 1tr-10tr phần tử vào collection)
    • ArrayList vs LinkedList
    • Stream API
  11. Generic
  12. Enum


Spring Boot​

  1. Spring Bean, Spring Component: cần phân biệt được @Bean & @Component
  2. Spring profile & configuration: biết cách get value từ file config, cần biết cách sử dụng nhiều file config (dev, alpha, beta, stg, prod)
  3. IOC Containers, DI: cần phân biệt được các cách Inject/Autowired
  4. Bean Scopes, Bean Life cycle
  5. Spring Data JPA, Entity, Relationship, Fetch Type (Lazy vs Eager): cần phân biệt được các loại Cascade, các FetchType, relationship
  6. Mapping DTO <-> Entity (Mapstruct, Mapper)
  7. Controller, HTTP Methods (POST, GET, PUT, DELETE): cần biết các thành phần request, response, các annotation của request (@Request Param và @PathVariable)
  8. Design Pattern trong Spring boot ( Singleton Bean, Factory Pattern,... )
  9. Authentication vs Authorization: Spring Security, tìm hiểu về tầng filter, generate/validate JWT, refresh token.
  10. Scheduler/Cronjob, Transactional, @Async
  11. Repository: hiểu các cách query data
    • Automatic Custom Queries
    • Manual Custom Queries (JPQL)
    • Native query
    • Customizing the Result with Class Constructors
    • Customizing the Result with Spring Data Projection (open/close)
    • Join table, Sort, Paging
    • Cache query
    • How to solve n+1 query problem?
  12. Mock, Unit test, Integration test: tìm hiểu về Mockito.mock() vs @Mock vs @MockBean, test controller, test service, test repo
  13. Spring resttemplate vs Webclient


SQL​

  1. Distinct
  2. Group by, having
  3. Delete và Truncate
  4. Primary key và unique
  5. Subquery
  6. Transaction
  7. Constraint, Union
  8. Các loại Join
  9. Index
  10. Tăng tốc độ query trong SQL
  11. So sánh SQL và NoSQL


Tham khảo​

 
Back
Bên trên