Java netbean

User Generated

gnzgbf

Programming

Description

Almost all programs need data to operate, and the data must be stored somewhere. Data structures serve the purpose of storing data in a program in an organized way.

Based on your knowledge, experience, and ideas, discuss data structures (such as arrays or array lists) in the language of your choice. Answer 2-3 of the following questions in your report:

  • How are data structures managed and organized in this language?
  • How does the management or syntax of data structures in this language differ from how data structures are handled in other language?
  • Give an example of how a data structure is used in this language, including declaration, setting values in the structure, and using values contained in the structure
  • Does the language include an ArrayList structure? If so, how does it differ from ArrayLists in other languages, such as C#?
  • Does the language include a generic structure, meaning one which does not require the setting of a data type before it can store data? If not, does the language have any means by which variables can be stored without a data type?
  • Are the data structures in this language strongly or weakly typed?
  • Are there any significant general advantages or disadvantages to using data structures with this language?

When replying to other students, use these questions to expand their ideas, either by adding to what the other students discussed about a language, or by comparing their post with your own.

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

I do not know how to thank you



How are data structures managed and organized in this language?

The data structures provided by the Java Utility Package are powerful and perform various
functions. They are managed and organized through the use of interfaces and classes which
include BitSet, enumeration, Vector, Stack, dictionary, hashtable, properties.
The hashtable provides a means of organizing data with respect to user-defined key structure.
This helps in the organization. The stack also implements Last-in-first-out (LIFO) criteria. This
helps in management and organization of the data structures. Enumeration is used in defining the
procedures of retrieving successive elements from a data structure. BitSet on the other end
implements a group of bits and flags that can set individually set and clear.


Are there any sig...


Anonymous
Super useful! Studypool never disappoints.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags