Basic Data Structures and their frequently used methods in Java
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...
lakshmiangadi.hashnode.dev2 min read