Alam Riku
1 min readDec 8, 2019

--

getNext() is a method of Node class and $currentNode is assign to Linklist property head. so how can it be possible that $currentNode has getNext() method…

I am a bit confuse….

$currentNode->getNext()

--

--

Alam Riku
Alam Riku

Written by Alam Riku

I am a learner who dives into the ocean of knowledge realm.

No responses yet