aspose file tools*
The moose likes Beginning Java and the fly likes About single and package Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "About single and package" Watch "About single and package" New topic
Author

About single and package

Wesley Tai
Greenhorn

Joined: Sep 30, 2003
Posts: 6
I have a question.
Can I use 'single' to take place with the type "float"?
~=package,do anybody use it?
Thank you.
Nicolaas van Rensburg
Greenhorn

Joined: Jul 16, 2004
Posts: 8
As far as I know, you can use the 'single' keyword with any basic classes such as int, char, double etc. What class are you querying on?
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Hey guys,

First, there's no "single" keyword. The floating-point types are "float" and "double."

Second, yes, everyone uses packages; you pretty much shouldn't write any code that's not in a package.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: About single and package