File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Method Invocation

 
Shruti Sharma
Ranch Hand
Posts: 55
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a piece of code as below:

-----------------------

public Object selectiveSelect(String finder, String[] collList) throws ApplicationException,
FrameworkException {
Object[] parm = {getAbstractCargo(), collList };
return select(finder, parm);
}
------------------------------

Can someone tell what does the statement below mean?

Object[] parm = {getAbstractCargo(), collList };


Thank you,
-Shruti
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please UseCodeTags when posting code. It will highlight your code and make it much easier to read. It probably will also increase the number of people helping you. You can edit your post with the button.

It creates an Object array with a length of 2 with the elements initialized to getAbstractCargo() and collList.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic