← Quiz: Spring Boot Interview Questions: all 10 questions
Quiz: Spring Boot Interview Questions · Question 4 of 10
What does PATCH do compared with PUT?
What does PATCH do compared with PUT?
- A.PATCH deletes the resource
- B.PATCH changes only some fields; PUT replaces the whole resource
- C.They are identical
- D.PATCH creates a new resource
Answer & explanation
Correct answer: PATCH changes only some fields; PUT replaces the whole resource
PUT sends the full representation.
Can you get the rest right without peeking?
Take the timed Quiz: Spring Boot Interview Questions quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →