Java Date Constructor Confusion
Date This is your date class, right? Java Yup And everyone agrees that the number 1 represents January, right? Java Yup Then the number I put in the month value in the constructor should be the same? Java Makes sense to me What month does the number 1 represent? Java February
A blue cartoon character explains how the Java Date constructor works, assuming that the month number 1 means January. The punchline is that Java uses zero-based month numbering, so 1 actually represents February. The meme is sent as a reaction to confusing programming behavior or unintuitive APIs.
blue cartoon character / синий мультяшный персонажred superhero suit / красный костюм супергерояblue gloves / синие перчаткиcave / пещераcalendar page / страница календаряJava logo / логотип Javadate class / класс Datenumber 1 / число 1computer programming / программированиеspeech captions / текстовые подписи
- @dev_meme / 3754 2021-09-28
- Type
- image
- Size
- 640×789 · 133.1 KiB
- Mood
- саркастичный
- Language
- en
- Added