Top.Mail.Ru
December 7th, 2005 - Java developers — LiveJournal
? ?

Java developers

December 7th, 2005

12:17 am - gyrle

what do i have to import to make my Hash object work in java?

Hash h2 = new Hash();

cannot resolve symbol

or another way i can get objects (integers) to hash to a table instead of adding them to the table myself (no function)?
 

02:37 pm - lefeudans

A silly question, probably...

I know that you can add values to an array at instantiation
String[] alphabet = { "A", "B", "C", "D", ..., "X", "Y", "Z" }


I was wondering if you could do the same for an ArrayList?
Powered by LiveJournal.com