+ 2
What is DTO/DAO?
Please Explain In simple
2 Answers
+ 4
Stranger
DTO is an object which holds data. It contains instance variable and setter, getter methods. DTO means Data Transfer Object.
DAO is a class utility where we perform CRUD operations like Save, Update, Delete. We also get data from database and pass to the Business Logic where different operation performs.
DAO means Data Access Object.
+ 1
An exemple :
https://code.sololearn.com/ctm3wbyuguWU/?ref=app