Home Tutorialhelp Comment What is the role of String Array In Java?

 
 

Comment

Anand Kumar Singh
What is the role of String Array In Java?,
May 21, 2007 at 5:22 PM

class StringCharacter
{
static String[] roseindia={"chanan","tapan","Amar","santosh","deepak"};
public static void main(String args[]){
for(int i=0;i<5;i++){
System.out.println(roseindia[i]);
}
}
}
Output of program:

C:\amar work>javac StringCharacter.java

C:\amar work>java StringCharacter
chandan
Amar
tapan
santosh
deepak

C:\amar work>
My question: Now i want to know that how amar has been chosen between them for treatment?

View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Java Beginners

String Array - Java Beginners
 

Java Beginners

String Array - Java Beginners
 

Java Beginners

String Array - Java Beginners
 

Java Beginners

sorting an array of string with duplicate values - Java Beginners
 

Java Beginners

java String array - Java Beginners
 

Java Beginners

What is the first argument of the String array in main() method?
 

Java Beginners

sorting an array of string with duplicate values - Java Beginners
 

Java Beginners

sorting an array of string with duplicate values - Java Beginners
 

Java Beginners

string
 

Java Beginners

string
 

Java Beginners

sorting an array of string with duplicate values - Java Beginners
 

Java Beginners

How to convert Arraylist into String Array Java
 

Mobile Applications Questions

array to string
 

Java Beginners

Array
 

JavaScript Questions

array string
 

Java Beginners

string array
 

Java Beginners

array - Java Beginners
 

Java Beginners

array split string
 

Java Beginners

array - Java Beginners
 

Java Beginners

array of string
 

JSP Servlet Questions

String array sort
 

JSP Servlet Questions

String array sort
 

General

String Array
 

Java Beginners

Merge Sort String Array in Java
 

Java Beginners

String in Java - Java Beginners
 

Java Beginners

string - Java Beginners
 

Java Tips and Examples

String Array In Java
 

JSP Servlet Questions

string array sort
 

JSP Servlet Questions

string array sort
 

JSP Servlet Questions

string array sort
 

JSP Servlet Questions

string array sort
 

JSP Servlet Questions

string array sort
 

Java Tips and Examples

Convert Array to String
 

PHP Questions

php parse string into array
 

Java Beginners

array sort - Java Beginners
 

Java Tips and Examples

Example - Array to String
 

JSP Servlet Questions

JSP to output Java String Array - JSP-Servlet
 

Design concepts & design patterns Questions

string
 

Java Beginners

Array /string based problem....
 

General

Java arraylist to string array
 

Java Beginners

string array based problem
 

Java Beginners

Array sorting - Java Beginners
 

Java Interview Questions

array, index, string
 

Java Beginners

array in javascript - Java Beginners
 

Java Code Examples

Java insertion sort with string array
 

JavaScript Questions

JavaScript split string into array
 

Java Beginners

ARRAY - Java Beginners
 

Java Beginners

array and string based problem
 

Java Beginners

array and string based problem
 

Java Beginners

array and string based problem
 

Java Beginners

Array - Java Beginners
 

Java Beginners

array - Java Beginners
 

Java Beginners

Array
 

Java Beginners

array example - Java Beginners
 

Java Beginners

Java Array - Java Beginners
 

Java Beginners

MultiDimensional Array - Java Beginners
 

Java Beginners

Java array - Java Beginners
 

Java Beginners

ARRAY SIZE. - Java Beginners
 

Java Beginners

array 1 - Java Beginners
 

Java Interview Questions

Array List and string operation
 

Java Beginners

array - Java Beginners
 

Java Beginners

Java Array - Java Beginners
 

Java Beginners

ARRAY TUTORIAL
 

Java Beginners

ARRAY TUTORIAL
 

Java Beginners

ARRAY SIZE!!! - Java Beginners
 

Java Beginners

array
 

Java Beginners

i need a quick response about array and string...
 

Java Beginners

array manipulation - Java Beginners
 

Java Beginners

array
 

Java Beginners

SUBSET ARRAY. - Java Beginners
 

Java Beginners

array
 

General

How to declare String array in Java?
 

Java Beginners

Sorting String arrays in java - Java Beginners
 

Java Beginners

Array
 

Java Beginners

array
 

Java Beginners

Convert a string representation of a hex dump to a byte array using Java?
 

Java Beginners

array - Java Beginners
 

Java Beginners

Java Array
 

Java Beginners

string - Java Beginners
 

Java Beginners

java array question. - Java Beginners
 

Java Beginners

ROTATE THE VOWELS IN A STRING!!! - Java Beginners
 

Java Beginners

Pass the array please.. - Java Beginners
 

Java Beginners

java array
 

C Tutorials

C Array of String
 

Java Beginners

string manipulation
 

General

Declare string array in Java (one and two dimensional)
 

Java Beginners

Two- Dimensional Array - Java Beginners
 

Java Beginners

Java Dynamic Array - Java Beginners
 

PHP Tutorial

PHP Array Sub String Search
 

Java Beginners

OOP with Java-Array - Java Beginners
 

Java Beginners

Array in Java
 

Java Beginners

String and StringBuffer - Java Beginners
 

General

JavaScript array to string
 

JavaScript Questions

create a string from an array using JavaScript
 

Java Beginners

Java array in currency converter
 

Java Beginners

string related
 

Programming Tutorials

Convert string into character array
 

Java Beginners

Java Programming using array
 

Java Beginners

how i can creat string array, with global visibility.
 

Java Beginners

how i can creat string array, with global visibility.
 

Advertisements Advertisements
 

 

 

DMCA.com