Eclipse software
Methods/steps
Open eclipse and click preferences under the window.
2. Find the code template under java.
3. Click New java File under Code, and then click Edit.
Then you can add what you want to write in it. The date can be written as ${date} and the time is ${time}, so that every time a new class is created, it will be added automatically.
5. Click OK after modification, and when you create a new class, you can automatically add the information you just wrote.