adspace


Why do we create dto in java?

Answer Posted / Anu Sirohi

DTO (Data Transfer Object) is created in Java to transfer data between processes or layers. It simplifies the communication between different parts of an application by providing a lightweight, self-contained object that only contains the necessary data for transfer, without any business logic.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does java handle integer overflows and underflows?

1115


What do you understand by casting in java language? What are the types of casting?

923


What is the locale class?

1026


What if I write static public void instead of public static void?

938


what is reflection api? How are they implemented?

1105


Are jvm’s platform independent?

983


What is the resourcebundle class?

1012


Can we extract main method from another class?

1034


What is the java api?

998


What is the first argument of the string array in main method?

1030