- Java.util - WeakHashMap
- Java.util - Vector
- Java.util - UUID
- Java.util - TreeSet
- Java.util - TreeMap
- Java.util - TimeZone
- Java.util - TimerTask
- Java.util - Timer
- Java.util - StringTokenizer
- Java.util - Stack
- Java.util - SimpleTimeZone
- Java.util - ServiceLoader
- Java.util - Scanner
- Java.util - ResourceBundle.Control
- Java.util - ResourceBundle
- Java.util - Random
- Java.util - PropertyResourceBundle
- Java.util - PropertyPermission
- Java.util - Properties
- Java.util - PriorityQueue
- Java.util - Observable
- Java.util - Locale
- Java.util - ListResourceBundle
- Java.util - LinkedList
- Java.util - LinkedHashSet
- Java.util - LinkedHashMap
- Java.util - IdentityHashMap
- Java.util - Hashtable
- Java.util - HashSet
- Java.util - HashMap
- Java.util - GregorianCalendar
- Java.util - Formatter
- Java.util - EnumSet
- Java.util - EnumMap
- Java.util - Dictionary
- Java.util - Date
- Java.util - Currency
- Java.util - Collections
- Java.util - Calendar
- Java.util - BitSet
- Java.util - Arrays
- Java.util - ArrayList
- Java.util - ArrayDeque
- Java.util - Home
Java.util Package Extras
- Java.util - Discussion
- Java.util - Useful Resources
- Java.util - Enumerations
- Java.util - Exceptions
- Java.util - Interfaces
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Java.util.Currency Class
Introduction
The java.util.Currency class represents a currency.Following are the important points about Currency −
Currencies are identified by their ISO 4217 currency codes.
The class is designed so that there s never more than one Currency instance for any given currency, this is the reason behind no pubpc constructor.
Class declaration
Following is the declaration for java.util.Currency class −
pubpc final class Currency extends Object implements Seriapzable
Class methods
Sr.No. | Method & Description |
---|---|
1 | This method gets the ISO 4217 currency code of this currency. |
2 | This method gets the default number of fraction digits used with this currency. |
3 | This method returns the Currency instance for the country of the given locale. |
4 | This method returns the Currency instance for the given currency code. |
5 | This method gets the symbol of this currency for the default locale. |
6 | This method gets the symbol of this currency for the specified locale. |
7 | This method returns the ISO 4217 currency code of this currency. |
Methods inherited
This class inherits methods from the following classes −
java.util.Object