SlideShare a Scribd company logo
6. What are the differences between objects and abstract data types
Solution
Differences between Objects and Abstract data types:
______________________________________________
Objects: Object is an instance of a class and it has states and behaviours of class.
Abstract data type: It is a data type of abstract and it hides the representation of class, and it is
typically implemented as a class and each instance of Abstract data type is usually an object of
that class.
Objects and Abstract data types are not the same. But these are not different with each other.
Objects are a kind of Abstract data types.
An Abstract data type is an interface.But objects are instance of a class, with its own copy of any
non-static variables.
Abstract data type is a collection of methods but in case of objects it is not an interface.It is an
representation of a class with new operator.
A class can have one or more Abstract data types in the same way class can have one or more
objects also.
To understand you with clear for Example, Collection interface is Abstract data type, ArrayList
is a class and you can make ArrayList object with new operator.
6- What are the differences between objects and abstract data typesSol.docx

More Related Content

Similar to 6- What are the differences between objects and abstract data typesSol.docx

Object oriented programming tutorial
Object oriented programming tutorialObject oriented programming tutorial
Object oriented programming tutorial
Ghulam Abbas Khan
 
Java_Interview Qns
Java_Interview QnsJava_Interview Qns
Java_Interview Qns
ManikandanRamanujam
 
01. design pattern
01. design pattern01. design pattern
01. design pattern
MD Sayem Ahmed
 
Chapter 7 java
Chapter 7 javaChapter 7 java
Chapter 7 java
Ahmad sohail Kakar
 
Oops
OopsOops
Object oriented modeling
Object oriented modelingObject oriented modeling
Object oriented modeling
Pooja Dixit
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
Amit Soni (CTFL)
 
SAD11 - Sequence Diagrams
SAD11 - Sequence DiagramsSAD11 - Sequence Diagrams
SAD11 - Sequence Diagrams
Michael Heron
 
Object oriented programming concept
Object oriented programming conceptObject oriented programming concept
Object oriented programming concept
Pina Parmar
 
Object Oriented Relationships
Object Oriented RelationshipsObject Oriented Relationships
Object Oriented Relationships
Taher Barodawala
 
cse 355 UML class diagram software engineering.ppt
cse 355 UML class diagram software engineering.pptcse 355 UML class diagram software engineering.ppt
cse 355 UML class diagram software engineering.ppt
Safaet Hossain
 
UML-class_diagram.ppt
UML-class_diagram.pptUML-class_diagram.ppt
UML-class_diagram.ppt
PragnyaNandaSabat
 
UML-class diagram for beginners to adance.ppt
UML-class diagram for beginners to adance.pptUML-class diagram for beginners to adance.ppt
UML-class diagram for beginners to adance.ppt
WorkDrive2
 
Oop in java.pptx
Oop in java.pptxOop in java.pptx
Oop in java.pptx
JencyShah2045
 
O6u CS-315A OOP Lecture (1).pdf
O6u CS-315A OOP Lecture (1).pdfO6u CS-315A OOP Lecture (1).pdf
O6u CS-315A OOP Lecture (1).pdf
MohamedRamadan454985
 
Lecture 13
Lecture 13Lecture 13
Lecture 13Rana Ali
 
Graph Clustering and cluster
Graph Clustering and clusterGraph Clustering and cluster
Graph Clustering and cluster
Adil Mehmoood
 
Ruby Interview Questions
Ruby Interview QuestionsRuby Interview Questions
Ruby Interview Questions
Sumanth krishna
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
Sudarsun Santhiappan
 

Similar to 6- What are the differences between objects and abstract data typesSol.docx (20)

Object modeling
Object modelingObject modeling
Object modeling
 
Object oriented programming tutorial
Object oriented programming tutorialObject oriented programming tutorial
Object oriented programming tutorial
 
Java_Interview Qns
Java_Interview QnsJava_Interview Qns
Java_Interview Qns
 
01. design pattern
01. design pattern01. design pattern
01. design pattern
 
Chapter 7 java
Chapter 7 javaChapter 7 java
Chapter 7 java
 
Oops
OopsOops
Oops
 
Object oriented modeling
Object oriented modelingObject oriented modeling
Object oriented modeling
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
SAD11 - Sequence Diagrams
SAD11 - Sequence DiagramsSAD11 - Sequence Diagrams
SAD11 - Sequence Diagrams
 
Object oriented programming concept
Object oriented programming conceptObject oriented programming concept
Object oriented programming concept
 
Object Oriented Relationships
Object Oriented RelationshipsObject Oriented Relationships
Object Oriented Relationships
 
cse 355 UML class diagram software engineering.ppt
cse 355 UML class diagram software engineering.pptcse 355 UML class diagram software engineering.ppt
cse 355 UML class diagram software engineering.ppt
 
UML-class_diagram.ppt
UML-class_diagram.pptUML-class_diagram.ppt
UML-class_diagram.ppt
 
UML-class diagram for beginners to adance.ppt
UML-class diagram for beginners to adance.pptUML-class diagram for beginners to adance.ppt
UML-class diagram for beginners to adance.ppt
 
Oop in java.pptx
Oop in java.pptxOop in java.pptx
Oop in java.pptx
 
O6u CS-315A OOP Lecture (1).pdf
O6u CS-315A OOP Lecture (1).pdfO6u CS-315A OOP Lecture (1).pdf
O6u CS-315A OOP Lecture (1).pdf
 
Lecture 13
Lecture 13Lecture 13
Lecture 13
 
Graph Clustering and cluster
Graph Clustering and clusterGraph Clustering and cluster
Graph Clustering and cluster
 
Ruby Interview Questions
Ruby Interview QuestionsRuby Interview Questions
Ruby Interview Questions
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 

More from danielt47

Bob Company has the following balances on January 31- 2013- Cash $800.docx
Bob Company has the following balances on January 31- 2013-  Cash $800.docxBob Company has the following balances on January 31- 2013-  Cash $800.docx
Bob Company has the following balances on January 31- 2013- Cash $800.docx
danielt47
 
Bob the scientist has a 100 mL solutin that contains 0-03 moles of eac.docx
Bob the scientist has a 100 mL solutin that contains 0-03 moles of eac.docxBob the scientist has a 100 mL solutin that contains 0-03 moles of eac.docx
Bob the scientist has a 100 mL solutin that contains 0-03 moles of eac.docx
danielt47
 
Blanche Blanche SolutionJournal Entry to record Requisition of.docx
Blanche     Blanche    SolutionJournal Entry to record Requisition of.docxBlanche     Blanche    SolutionJournal Entry to record Requisition of.docx
Blanche Blanche SolutionJournal Entry to record Requisition of.docx
danielt47
 
Blanton Corporation purchased 12- of the outstanding shares of common.docx
Blanton Corporation purchased 12- of the outstanding shares of common.docxBlanton Corporation purchased 12- of the outstanding shares of common.docx
Blanton Corporation purchased 12- of the outstanding shares of common.docx
danielt47
 
Black Holes are cores of dying stars that have gravitationally collaps.docx
Black Holes are cores of dying stars that have gravitationally collaps.docxBlack Holes are cores of dying stars that have gravitationally collaps.docx
Black Holes are cores of dying stars that have gravitationally collaps.docx
danielt47
 
Beyond aesthetics- what functional differences are there for running G.docx
Beyond aesthetics- what functional differences are there for running G.docxBeyond aesthetics- what functional differences are there for running G.docx
Beyond aesthetics- what functional differences are there for running G.docx
danielt47
 
Beside the typical DBMS- what are some of the different data sources t.docx
Beside the typical DBMS- what are some of the different data sources t.docxBeside the typical DBMS- what are some of the different data sources t.docx
Beside the typical DBMS- what are some of the different data sources t.docx
danielt47
 
Below are three independent and unrelated accounting errors- For each.docx
Below are three independent and unrelated accounting errors- For each.docxBelow are three independent and unrelated accounting errors- For each.docx
Below are three independent and unrelated accounting errors- For each.docx
danielt47
 
Be sure to answer all parts- Give the Mino acid sequence of an octapep.docx
Be sure to answer all parts- Give the Mino acid sequence of an octapep.docxBe sure to answer all parts- Give the Mino acid sequence of an octapep.docx
Be sure to answer all parts- Give the Mino acid sequence of an octapep.docx
danielt47
 
Basic naming lab Name Naming Lab Report In lieu of a lab report- pleas.docx
Basic naming lab Name Naming Lab Report In lieu of a lab report- pleas.docxBasic naming lab Name Naming Lab Report In lieu of a lab report- pleas.docx
Basic naming lab Name Naming Lab Report In lieu of a lab report- pleas.docx
danielt47
 
Based on the information in Atom- Clash of the Titans- please answer t.docx
Based on the information in Atom- Clash of the Titans- please answer t.docxBased on the information in Atom- Clash of the Titans- please answer t.docx
Based on the information in Atom- Clash of the Titans- please answer t.docx
danielt47
 
Both these questions go togetherSolutionWhen we bring a magnet near a.docx
Both these questions go togetherSolutionWhen we bring a magnet near a.docxBoth these questions go togetherSolutionWhen we bring a magnet near a.docx
Both these questions go togetherSolutionWhen we bring a magnet near a.docx
danielt47
 
Boston Scientific faced the challenge of balancing openness and sharin.docx
Boston Scientific faced the challenge of balancing openness and sharin.docxBoston Scientific faced the challenge of balancing openness and sharin.docx
Boston Scientific faced the challenge of balancing openness and sharin.docx
danielt47
 
Based on the information in Atom- Clash of the Titans- please answer t (2).docx
Based on the information in Atom- Clash of the Titans- please answer t (2).docxBased on the information in Atom- Clash of the Titans- please answer t (2).docx
Based on the information in Atom- Clash of the Titans- please answer t (2).docx
danielt47
 
6-3- (a) In which form does Cd(II) occur mainly in a water of the foll.docx
6-3- (a) In which form does Cd(II) occur mainly in a water of the foll.docx6-3- (a) In which form does Cd(II) occur mainly in a water of the foll.docx
6-3- (a) In which form does Cd(II) occur mainly in a water of the foll.docx
danielt47
 
6- A solution of an acid- with a general formula HA- contains 0-400 mo.docx
6- A solution of an acid- with a general formula HA- contains 0-400 mo.docx6- A solution of an acid- with a general formula HA- contains 0-400 mo.docx
6- A solution of an acid- with a general formula HA- contains 0-400 mo.docx
danielt47
 
6- What do the bubbles in boiling water principally c a- air b- O2 (e.docx
6- What do the bubbles in boiling water principally c a- air b- O2 (e.docx6- What do the bubbles in boiling water principally c a- air b- O2 (e.docx
6- What do the bubbles in boiling water principally c a- air b- O2 (e.docx
danielt47
 
6- Both solutions and colloids are mixtures- Differentiate between the.docx
6- Both solutions and colloids are mixtures- Differentiate between the.docx6- Both solutions and colloids are mixtures- Differentiate between the.docx
6- Both solutions and colloids are mixtures- Differentiate between the.docx
danielt47
 
6)- The Town of Elmwood applied for a competitive grant from the state.docx
6)- The Town of Elmwood applied for a competitive grant from the state.docx6)- The Town of Elmwood applied for a competitive grant from the state.docx
6)- The Town of Elmwood applied for a competitive grant from the state.docx
danielt47
 
500 men are arranged in an array of 10 rows and 50 columns according t.docx
500 men are arranged in an array of 10 rows and 50 columns according t.docx500 men are arranged in an array of 10 rows and 50 columns according t.docx
500 men are arranged in an array of 10 rows and 50 columns according t.docx
danielt47
 

More from danielt47 (20)

Bob Company has the following balances on January 31- 2013- Cash $800.docx
Bob Company has the following balances on January 31- 2013-  Cash $800.docxBob Company has the following balances on January 31- 2013-  Cash $800.docx
Bob Company has the following balances on January 31- 2013- Cash $800.docx
 
Bob the scientist has a 100 mL solutin that contains 0-03 moles of eac.docx
Bob the scientist has a 100 mL solutin that contains 0-03 moles of eac.docxBob the scientist has a 100 mL solutin that contains 0-03 moles of eac.docx
Bob the scientist has a 100 mL solutin that contains 0-03 moles of eac.docx
 
Blanche Blanche SolutionJournal Entry to record Requisition of.docx
Blanche     Blanche    SolutionJournal Entry to record Requisition of.docxBlanche     Blanche    SolutionJournal Entry to record Requisition of.docx
Blanche Blanche SolutionJournal Entry to record Requisition of.docx
 
Blanton Corporation purchased 12- of the outstanding shares of common.docx
Blanton Corporation purchased 12- of the outstanding shares of common.docxBlanton Corporation purchased 12- of the outstanding shares of common.docx
Blanton Corporation purchased 12- of the outstanding shares of common.docx
 
Black Holes are cores of dying stars that have gravitationally collaps.docx
Black Holes are cores of dying stars that have gravitationally collaps.docxBlack Holes are cores of dying stars that have gravitationally collaps.docx
Black Holes are cores of dying stars that have gravitationally collaps.docx
 
Beyond aesthetics- what functional differences are there for running G.docx
Beyond aesthetics- what functional differences are there for running G.docxBeyond aesthetics- what functional differences are there for running G.docx
Beyond aesthetics- what functional differences are there for running G.docx
 
Beside the typical DBMS- what are some of the different data sources t.docx
Beside the typical DBMS- what are some of the different data sources t.docxBeside the typical DBMS- what are some of the different data sources t.docx
Beside the typical DBMS- what are some of the different data sources t.docx
 
Below are three independent and unrelated accounting errors- For each.docx
Below are three independent and unrelated accounting errors- For each.docxBelow are three independent and unrelated accounting errors- For each.docx
Below are three independent and unrelated accounting errors- For each.docx
 
Be sure to answer all parts- Give the Mino acid sequence of an octapep.docx
Be sure to answer all parts- Give the Mino acid sequence of an octapep.docxBe sure to answer all parts- Give the Mino acid sequence of an octapep.docx
Be sure to answer all parts- Give the Mino acid sequence of an octapep.docx
 
Basic naming lab Name Naming Lab Report In lieu of a lab report- pleas.docx
Basic naming lab Name Naming Lab Report In lieu of a lab report- pleas.docxBasic naming lab Name Naming Lab Report In lieu of a lab report- pleas.docx
Basic naming lab Name Naming Lab Report In lieu of a lab report- pleas.docx
 
Based on the information in Atom- Clash of the Titans- please answer t.docx
Based on the information in Atom- Clash of the Titans- please answer t.docxBased on the information in Atom- Clash of the Titans- please answer t.docx
Based on the information in Atom- Clash of the Titans- please answer t.docx
 
Both these questions go togetherSolutionWhen we bring a magnet near a.docx
Both these questions go togetherSolutionWhen we bring a magnet near a.docxBoth these questions go togetherSolutionWhen we bring a magnet near a.docx
Both these questions go togetherSolutionWhen we bring a magnet near a.docx
 
Boston Scientific faced the challenge of balancing openness and sharin.docx
Boston Scientific faced the challenge of balancing openness and sharin.docxBoston Scientific faced the challenge of balancing openness and sharin.docx
Boston Scientific faced the challenge of balancing openness and sharin.docx
 
Based on the information in Atom- Clash of the Titans- please answer t (2).docx
Based on the information in Atom- Clash of the Titans- please answer t (2).docxBased on the information in Atom- Clash of the Titans- please answer t (2).docx
Based on the information in Atom- Clash of the Titans- please answer t (2).docx
 
6-3- (a) In which form does Cd(II) occur mainly in a water of the foll.docx
6-3- (a) In which form does Cd(II) occur mainly in a water of the foll.docx6-3- (a) In which form does Cd(II) occur mainly in a water of the foll.docx
6-3- (a) In which form does Cd(II) occur mainly in a water of the foll.docx
 
6- A solution of an acid- with a general formula HA- contains 0-400 mo.docx
6- A solution of an acid- with a general formula HA- contains 0-400 mo.docx6- A solution of an acid- with a general formula HA- contains 0-400 mo.docx
6- A solution of an acid- with a general formula HA- contains 0-400 mo.docx
 
6- What do the bubbles in boiling water principally c a- air b- O2 (e.docx
6- What do the bubbles in boiling water principally c a- air b- O2 (e.docx6- What do the bubbles in boiling water principally c a- air b- O2 (e.docx
6- What do the bubbles in boiling water principally c a- air b- O2 (e.docx
 
6- Both solutions and colloids are mixtures- Differentiate between the.docx
6- Both solutions and colloids are mixtures- Differentiate between the.docx6- Both solutions and colloids are mixtures- Differentiate between the.docx
6- Both solutions and colloids are mixtures- Differentiate between the.docx
 
6)- The Town of Elmwood applied for a competitive grant from the state.docx
6)- The Town of Elmwood applied for a competitive grant from the state.docx6)- The Town of Elmwood applied for a competitive grant from the state.docx
6)- The Town of Elmwood applied for a competitive grant from the state.docx
 
500 men are arranged in an array of 10 rows and 50 columns according t.docx
500 men are arranged in an array of 10 rows and 50 columns according t.docx500 men are arranged in an array of 10 rows and 50 columns according t.docx
500 men are arranged in an array of 10 rows and 50 columns according t.docx
 

Recently uploaded

Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 

Recently uploaded (20)

Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 

6- What are the differences between objects and abstract data typesSol.docx

  • 1. 6. What are the differences between objects and abstract data types Solution Differences between Objects and Abstract data types: ______________________________________________ Objects: Object is an instance of a class and it has states and behaviours of class. Abstract data type: It is a data type of abstract and it hides the representation of class, and it is typically implemented as a class and each instance of Abstract data type is usually an object of that class. Objects and Abstract data types are not the same. But these are not different with each other. Objects are a kind of Abstract data types. An Abstract data type is an interface.But objects are instance of a class, with its own copy of any non-static variables. Abstract data type is a collection of methods but in case of objects it is not an interface.It is an representation of a class with new operator. A class can have one or more Abstract data types in the same way class can have one or more objects also. To understand you with clear for Example, Collection interface is Abstract data type, ArrayList is a class and you can make ArrayList object with new operator.