Is there an abstract data type like abstract method in java? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Is there an abstract data type like abstract method in java?

I know there is abstract method in abstract class , but i don't if there is called abstract data type which is declared using abstract modifier.

7th Mar 2020, 11:21 AM
D Ő≤E Ő≤S Ő≤S Ő≤I Ő≤E Ő≤- Ő≤B Ő≤A Ő≤H Ő≤I Ő≤R Ő≤U Ő≤
D Ő≤E Ő≤S Ő≤S Ő≤I Ő≤E Ő≤- Ő≤B Ő≤A Ő≤H Ő≤I Ő≤R Ő≤U Ő≤ - avatar
2 Réponses
+ 1
Abstract is a non-access member modifier and is not used with variables of any data type. It is used to achieve abstraction in Java, variables can be declared final if they are not meant to be modified.
7th Mar 2020, 11:32 AM
Avinesh
Avinesh - avatar
0
I hope you are not asking about Java Abstract Data Type in Data Structure ‚Äď ADT. In Java abstract data type, we can only know what operations are to be performed and not how to perform them i.e. it does not tell how algorithms are to be implemented or how the data will be organized in the memory. This type is thus called abstract as it does not give the view of implementation. The types of Abstract Data Type in Java: List ADT, Stack ADT, and Queue ADT
7th Mar 2020, 5:04 PM
ROBIN C R
ROBIN C R - avatar