FastFoodCoding

Login


Connect with one of the following accounts





Login

Please wait while we redirect...

Views: 845 Ask New Question


How to get current Year in Java?

On By


1 Answer


Using following code you can get current year in Java

int year = Calendar.getInstance().get(Calendar.YEAR);
On By


Answer This Question


Top Tutorials

Top Questions

Top Articles

Top Blogs

Top News