aspose file tools*
The moose likes Java in General and the fly likes The Data Type of Some Variables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "The Data Type of Some Variables" Watch "The Data Type of Some Variables" New topic
Author

The Data Type of Some Variables

Natalie Kopple
Ranch Hand

Joined: May 06, 2003
Posts: 325
Hi, I have two questions relating to the data types:

1. If the method invocation on an instance returns a variable "result", which is a file in the JSON format. What is the data type of "result"?
2. If a method returns an "Atom Feed" document; which is given a varible name "document". The generate this document, the Java class has to with a JAR on the class path. What is the data tye of this "document". Is it "Feed"?

Thank you.

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14352
    
  22

Those questions are impossible to answer without any more context. You should have a look at the definition or API documentation of the methods you're calling.

If a method is declared as:

then the data type of the return value is Something.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The Data Type of Some Variables