File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 13870
    
  10

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
 
Similar Threads
Xerces and DOM 2
Urgent: Please Help!! Ways to cast String to Resource (org.springframework.core.io.Resource)
How to set a time limit on a java function running a regex
Reading xml data in JSP
java.lang.ClassCastException: