#Linkedlist

7 messages · Page 1 of 1 (latest)

void crow
#

Here is a doubt. I am new to java and coding in general and this seems a common doubt among others but couldn't find relevant explanation. As far as I understand only objects within a class can use class_name as datatype.Then how is it possible to create object called head of class Node in another class LinkedIist on
Line 14?

scarlet widgetBOT
#

This post has been reserved for your question.

Hey @void crow! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

analog schooner
void crow
proven matrix
#

No package is still a package, so your classes would be in the same package and able to use each other

analog schooner