Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java in data structures and linked list

 
anand reeddy
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
anand reeddy
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My concern was
c++ has pointers
where java does't support pointers.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this may help you
 
anand reeddy
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks....
seetharam...Will have a look at it..
 
Campbell Ritchie
Sheriff
Pie
Posts: 49755
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That looks a useful link you quoted.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic