what is the difference between arrays and strings at java?
push
-1
Light Poster
Recommended Answers
Jump to Posta String is one Object (of the type String). an array is a small collection of Objects.
for instance: you know you need to keep seven String-Objects, containing the days of the week, in your program.
String dayOne = "Monday";
String dayTwo = "Tuesday";
...
like here above, …
All 4 Replies
stultuske
1,116
Posting Maven
Featured Poster
jwenting
1,889
duckman
Team Colleague
isitintheback
0
Newbie Poster
push
-1
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.