Current location - Education and Training Encyclopedia - Education and training - How does eclipse modify the default template when creating a new java file?
How does eclipse modify the default template when creating a new java file?
The method is as follows:

Click the window on the eclipse menu bar (toolbar->; Preferences->; Java (left menu)-> Code style-> Code template-> Code (right)-> Class subject->; Edit (click the button on the right)

Enter void f () (in the pop-up box)->; Ok-> okay