Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

have 1 which shows to "aAaaa"

  Asked By: Leona    Date: Jan 23    Category: Java    Views: 629

need to do smth like that..
for example : have 1 which shows to "aAaaa"
2 -> "bBbbb"
3 -> "cCccc"
is that possible?

Stack a=new Stack();
but i need different a[i], array of it..
should i use smth else, not Stack?



1 Answer Found

Answer #1    Answered By: Heidi Larson     Answered On: Jan 23

I don't quite understand what you are doing.

A Stack if a collection of objects (a string is a object), except it is
First in Last out (just like a pile of cards).

I don't understand what you mean by needing a differnt array  of it,
unless you mean you need to use a array for your homework.

Didn't find what you were looking for? Find more on have 1 which shows to "aAaaa" Or get search suggestion and latest updates.