Topic 1 - Introduction to Data Structures
Topic 1 - Introduction to Data Structures
Data types
Definition of Data Structures
Java Collection Framework
Review
Java Abstract Classes
Java Interfaces
https://www.baeldung.com/java-stack-heap
https://pediaa.com/what-is-the-difference-between-database-and-data-structure/
We implement interfaces; we
extend classes
We can only extend one class
in java, but can implement
many interfaces
When we "extend" a class, any
methods with the same name
Eckel, B., Thinking in Java, 3rd ed, 2002
will override the parent class'
method
When we "implement" a class,
we are adding our own method
code to a method declaration
(so, no overriding takes place)
Compiled & edited by: Zahid Zainal
Summary
Linear list
Array
Concept
Implementation
Application