This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Java in General and the fly likes Java in data structures and linked list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java in data structures and linked list" Watch "Java in data structures and linked list" New topic
Author

Java in data structures and linked list

anand reeddy
Greenhorn

Joined: May 05, 2009
Posts: 17
I have a question regarding usage of java in datastructures like linked list and binary search trees

I developed binsary search trees in C programming language, Not sure how we develop binary search trees,linked list, double linked list in java.

Do Inbuilt libraries are used.

Thanks,
Matcha


SCJP 1.4
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24193
    
  34

You can build these things in Java the same way that you'd build them in C++, more or less. But just as C++ has its own standard implementations of these sorts of things, so does Java (mostly in the java.util package.)

Moving to Java in General (Beginner).


[Jess in Action][AskingGoodQuestions]
anand reeddy
Greenhorn

Joined: May 05, 2009
Posts: 17
My concern was
c++ has pointers
where java does't support pointers.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

this may help you
anand reeddy
Greenhorn

Joined: May 05, 2009
Posts: 17
Thanks....
seetharam...Will have a look at it..
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44433
    
  33
That looks a useful link you quoted.
 
 
subject: Java in data structures and linked list
 
It's not a secret anymore!