---
title: "Discussion on \"Basic Data Structures and their frequently used methods in Java\" | Hashnode"
description: "Discussion on \"Basic Data Structures and their frequently used methods in Java\". Array:\n\nCreating : int [][] a1= new int [3][3];\nSize/length: a1.length\nSorting\nArrays to list: \n\nString:\n\ntoLowerCase()\ntoUpperCase()    \nreplace(‘x’ , ‘y’)    replaces all appearances of ‘x’ with ‘y’\ntrim()    removes the whitespaces at the beginnin..."
url: "https://hashnode.com/posts/basic-data-structures-and-their-frequently-used-methods-in-java/60a1433bb66a0b15ebfc9a9e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Basic Data Structures and their frequently used methods in Java](https://lakshmiangadi.hashnode.dev/basic-data-structures-and-their-frequently-used-methods-in-java?utm_source=hashnode&utm_medium=feed)

Array: Creating : int \[\]\[\] a1= new int \[3\]\[3\]; Size/length: a1.length Sorting Arrays to list: String: toLowerCase() toUpperCase() replace(‘x’ , ‘y’) replaces all appearances of ‘x’ with ‘y’ trim() removes the whitespaces at the beginnin...

May 16, 2021 · 2 min read · lakshmiangadi.hashnode.dev  
Read the article

-   [#data-structures](https://hashnode.com/tag/data-structures)
-   [#java](https://hashnode.com/tag/java)

## Written by

[Lakshmi Angadi](https://hashnode.com/@la27)

@la27 · India

  
[View profile](https://hashnode.com/@la27)

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
