SlideShare a Scribd company logo
1 of 2
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 tutorialGhulam Abbas Khan
 
Object oriented modeling
Object oriented modelingObject oriented modeling
Object oriented modelingPooja Dixit
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programmingAmit Soni (CTFL)
 
SAD11 - Sequence Diagrams
SAD11 - Sequence DiagramsSAD11 - Sequence Diagrams
SAD11 - Sequence DiagramsMichael Heron
 
Object oriented programming concept
Object oriented programming conceptObject oriented programming concept
Object oriented programming conceptPina Parmar
 
Object Oriented Relationships
Object Oriented RelationshipsObject Oriented Relationships
Object Oriented RelationshipsTaher Barodawala
 
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.pptWorkDrive2
 
Lecture 13
Lecture 13Lecture 13
Lecture 13Rana Ali
 
Graph Clustering and cluster
Graph Clustering and clusterGraph Clustering and cluster
Graph Clustering and clusterAdil Mehmoood
 
Ruby Interview Questions
Ruby Interview QuestionsRuby Interview Questions
Ruby Interview QuestionsSumanth krishna
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented DesignAravinth NSP
 
Review oop and ood
Review oop and oodReview oop and ood
Review oop and oodthan sare
 

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

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
 
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
 
UML-class_diagram.ppt
UML-class_diagram.pptUML-class_diagram.ppt
UML-class_diagram.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
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
Review oop and ood
Review oop and oodReview oop and ood
Review oop and ood
 

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.docxdanielt47
 
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.docxdanielt47
 
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.docxdanielt47
 
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.docxdanielt47
 
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.docxdanielt47
 
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.docxdanielt47
 
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.docxdanielt47
 
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.docxdanielt47
 
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.docxdanielt47
 
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.docxdanielt47
 
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.docxdanielt47
 
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.docxdanielt47
 
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.docxdanielt47
 
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).docxdanielt47
 
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.docxdanielt47
 
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.docxdanielt47
 
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.docxdanielt47
 
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.docxdanielt47
 
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.docxdanielt47
 
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.docxdanielt47
 

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

Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 

Recently uploaded (20)

Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 

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.