+ 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 Answers
+ 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