This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Mastering Corda: Blockchain for Java Developers and have Jamiel Sheikh on-line!
See this thread for details.
Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
  • salvin francis
  • Frits Walraven
  • Piet Souris

Data Structure in Java

Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Can you please tell me what are Dynamic Data Structures in Java??
I was asked this question in interview.
Thanks in advance.
Posts: 621
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's too much jargon in this business! I'd have to say that this is a not so common term in Java (ie. in 5 years of java coding, I never had reason to say DDS - you know 'dynamic data structures'!). But, to get to the point, I'm pretty sure that they were simply refering to the java Collection api of common data structures. You know lists, trees, vectors (old school) and stuff. The key term here being 'dynamic' (as opposed to an array, which has a fixed size upon creation). I swear, interviewers newspaper ads seem to throw out these types of terms simply in hope that you'll know what they are and tell them because they don't have a clue.
"We're looking for round-box thinker with extensive knowledge of active ejb deployment technologies and dynamic data infrastructures" - Read: "We don't know what we want, maybe you can figure it out".
Sorry for the rant.
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Data Stuctures whose size is manipulated at runtime. Like directory trees, or linked lists
Below is an exerpt from here:,4413,2215844,00.html
Problems happen, though, when your programs become more dynamic. In these cases, you're going to need data structures that can easily grow and shrink on demand.
Suppose, for example, that instead of dealing with an employee data set, you're now creating a graphical computer-aided design (CAD or CAD/CAM) software package. Each time an engineer adds a new part to a drawing, whether it's a nut, bolt, or screw, you need to add that part to a data structure.
If you can guess the maximum number of parts that will eventually be added, you might be able to use an array to serve as a container for all these components. But then the engineer looks at the drawing and decides to change a part here, remove a part there, add 600 new bolts, remove 100 washers, etc. Now you're dealing with dynamic data storage. In a case like this, and in many others, you need a dynamic data structure, such as a linked list.
end Quote
Heres some links for you:
Mukesh Rathod
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sean & Cindy
Thanks for reply.
Actiually I also never heard such term in JAva. But as I am new to this field, I thought I might not be knowing it.Thanks again for clearing the doubt.

Put the moon back where you found it! We need it for tides and poetry and stuff. Like this tiny ad:
the value of filler advertising in 2020
    Bookmark Topic Watch Topic
  • New Topic