Question: 71Given:12. Date date = new Date();13. df.setLocale(Locale.ITALY);14. String s = df.format(date);The variable df is an object of type DateFormat that has been initialized in line 11.What is ...
Posts from February 2012
4 result(s) found
Java
Java
Java has three different types of methods. Programmer can develop any type of method depending on the scenario.1. Static methods: A static method is a method that can be called and executed without cr...
Java
I'm going to explain here about importance of "static" keyword in java. "static" can be applied to a class variable, or method, or even for a code block within a class. Static variables, static method...
Java
A string buffer implements a mutable sequence of characters. A string buffer is like a String, but can be modified. At any point in time it contains some particular sequence of characters, but the len...