This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes need answer immediatly... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "need answer immediatly..." Watch "need answer immediatly..." New topic
Author

need answer immediatly...

Preethi Dev
Ranch Hand

Joined: Sep 07, 2008
Posts: 265
Hi ,i got it from devaka's final exam

import java.util.*;
class colclass
{
public static void main(String args[])
{
List<? super String> ts=new ArrayList<String>();
{
ts.add("Java");
ts.add("startOffice");
ts.add("Jsp");
ts.add("Applets");
Collections. ---------(----- ,-------. --------());
String[] st=ts.toArray(new String[]{"C","B","A"});
for(String s: st)
{
System.out.println(s+ " ,");
}
}
}
}

output:StarOffice,Jsp,Java,Applets

How can we achieve this? it's a drag and drop question.

i need this answer urgently.

Thanks
preetha
[ December 28, 2008: Message edited by: Preetha Arun ]
Devaka Cooray
ExamLab Creator
Sheriff

Joined: Jul 29, 2008
Posts: 3598
    
  78

Preetha, you should Ease Up, use a meaningful subject line and use code tags.

You can fill the slots as following:


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Preethi Dev
Ranch Hand

Joined: Sep 07, 2008
Posts: 265
sorry Devaka i am in exam hurry. thanks for your answer

Thanks
Preetha
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: need answer immediatly...
 
It's not a secret anymore!