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


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 24057
    
  13

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
 
Similar Threads
jar file with in a jar file
Is there way to package the application and the jars related in single package?
Problem in modeling Part 2
Package import / Distribution Question
difference between package and import