cancel
Showing results for 
Search instead for 
Did you mean: 

Collection

Former Member
0 Kudos

Hi All,

I am new to WebDynpro. when i declare

Collection questions = new ArrayList(); It is showing me the syntax error <b>ArrayList cann't be resolved or is not a type</b>. Even i pressed CtrlShiftO also no use...Could anyone please help me out....

Accepted Solutions (1)

Accepted Solutions (1)

Yashpal
Active Contributor
0 Kudos

Hi,

import java.util.Collection; import java.util.ArrayList ;

Regards,

Yash

Message was edited by: Yashpal Gupta

Answers (1)

Answers (1)

Former Member
0 Kudos

I did it its working well . right click on arraylist and click organise imports.

otherwise right click on webdynpro project wnd select properties and choose java buildpath add jar file(rt.jar) whether its doesnt exist