Data Structures In Java

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Data Structures In Java as PDF for free.

More details

  • Words: 65
  • Pages: 2
Data structures in Java Self-Referential classes. Dynamic memory allocation Linked List Sockets Queues Trees

Self-Referential classes. A self referential class contains a reference member that refers to a class object of same class type. class Node { private int data; private Node next; Node(int d){//method body} void setData(int d) {//method body} void getData() {//method body} void setNext(Node nextNode) {//method body} void getNext() {//method body} }

Related Documents

Data Structures In Java
November 2019 11
Data Structures
October 2019 38
Data Structures
June 2020 21
Data Structures
April 2020 34
Data Structures
May 2020 22