I'm trying to create an array of stringbuffers by:
StringBuffer[] rotor={"jndskfnjl","kjbsdbfkj","njkfdn"};
and it shows error "string cannot be converted to stringbuffer". but I can create an array of strings without any problem and I can create declare individual stringbuffers in a similar manner as strings without having to convert them.
Please tell me how I can make an array of stringbuffers.