Title: Java Eclipse-Formatting 2
Description: We continue in this video our discussion of formatting. We introduced the Locale class and showed how we can display an integer in a French locale. We also explained the use of argument indexing (which starts the counting from 1 instead of 0). Then we discussed how we can format dates. Finally, we shoed the use of less than sign (<) so we can use the same argument while formatting.
Methodology: Good coding standards and object-oriented design.
Technologies: Java, object-oriented programming
Examples constructed: We created a Demo class with a main method. In main, we experimented with different type of formatting for doubles, dates, times, and locale.
Keywords: Locale, argument index, format, double, Date.