Can anyone tell me why the methods pageloadtimeout and implicitlywait are displayed as strikethrough text in my testbase class?

The methods WebDriver.Timeouts pageLoadTimeout(long time, java.util.concurrent.TimeUnit unit)is deprecated.
Use pageLoadTimeout(Duration) that sets the amount of time to wait for a page load to complete before throwing an error, instead.
See: https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/WebDriver.Timeouts.html