Coderanch
coderanch.com › t › 629183 › java › create-dynamic-string-array-dont
how to create dynamic string array if we dont know number of strings in the beginning? (Beginning Java forum at Coderanch)
Ideally, it would iterate through the existing String array to confirm there are no null elements that could be used before increasing the size. Thank you for pointing out my late night logic problems. Cheers! Chris ... Chris R Barrett wrote:I kind of feel your original question has been lost in the heated (and increasingly personal) debate over if an ArrayList is an dynamic array or not. You're right. I've therefore moved the heated debate to a different thread in our Java ...
W3Schools
w3schools.com › java › java_arrays.asp
Java Arrays
Arrays are used to store multiple values in a single variable, instead of declaring separate variables for each value. To declare an array, define the variable type with square brackets [ ] : ... We have now declared a variable that holds an ...
Videos
12:16
Java Tutorial - 14 - Arrays of Strings - YouTube
03:40
Making an Array Of Strings | Java For Beginners - YouTube
25:51
Array & String in java | DSA - YouTube
02:27
Java - Initialize String Arrays | Arrays in Java - YouTube
04:32
Learn Java - Exercise 14x - Using Arrays of Strings in Java - YouTube
Old But Short: (String) Array Initializer #java #shorts #coding ...
GeeksforGeeks
geeksforgeeks.org › java › string-arrays-in-java
String Arrays in Java - GeeksforGeeks
October 2, 2025 - A String Array in Java is an array that stores string values.
Coderanch
coderanch.com › t › 775980 › java › String-array-Java-List-Stream
Cannot use String[] array inside Java8 List Stream Map (Java in General forum at Coderanch)
August 11, 2023 - 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 Pie Elite all forums · this forum made possible by our volunteer staff, including ... ... I have no idea why I am getting errors trying to parse a String line into String[] elements and then use the 2 elements to map through a List<Tester> collection to be able to set values, but I am getting errors, and I have no idea why.
W3Schools
w3schools.com › java › java_arraylist.asp
Java ArrayList
To use an ArrayList, you must first import it from java.util: Create an ArrayList object called cars that will store strings:
Scaler
scaler.com › home › topics › convert string to array in java
String to Array in Java - Scaler Topics
April 19, 2024 - Strings in Java are objects which represent a sequence of characters. Java Strings are immutable, which implies their value cannot be changed once they are created. We can use a simple for loop or toCharArray() method to convert string to char array.
Runestone Academy
runestone.academy › ns › books › published › apcsareview › ArrayBasics › abasics.html
8.1. Arrays in Java — AP CSA Java Review - Obsolete
You can also initialize (set) the values in the array when you create it. In this case you don’t specify the size of the array, it will be determined from the number of values that you specify. int[ ] highScores = {99,98,98,88,68}; String[ ] names = {"Jamal", "Emily", "Destiny", "Mateo", "Sofia"};
BeginnersBook
beginnersbook.com › 2022 › 08 › string-array-in-java
String Array in Java
October 25, 2022 - String array is a collection of strings, stored in contiguous memory locations.
takeuforward
takeuforward.org › data-structure › what-are-arrays-strings
What are arrays, strings? - Tutorial
Search for a command to run
DigitalOcean
digitalocean.com › community › tutorials › java-string-array-to-string
Java String Array to String | DigitalOcean
August 3, 2022 - So we looked at how to convert Java String array to String and then extended it to use with custom objects.
Oracle
docs.oracle.com › javase › tutorial › java › nutsandbolts › arrays.html
Arrays (The Java™ Tutorials > Learning the Java Language > Language Basics)
You can also declare an array of arrays (also known as a multidimensional array) by using two or more sets of brackets, such as String[][] names. Each element, therefore, must be accessed by a corresponding number of index values. In the Java programming language, a multidimensional array is ...
CodingBat
codingbat.com › java › Array-1
CodingBat Java Array-1
Basic array problems -- no loops.. Use a[0], a[1], ... to access elements in an array, a.length is the length (note that s.length() is for Strings). Allocate a new array like this: int[] a = new int[10]; // length 10 array See the Java Arrays and Loops Help document for help.
DigitalOcean
digitalocean.com › community › tutorials › java-string-array
Java String Array | DigitalOcean
August 3, 2022 - Java String array is used to hold fixed number of Strings. String array is very common in simple java programs, specially among beginners to java and to test some specific scenarios. Even java main method argument is string array - public static void main(String[] args).