It must be suitable for programming Java and have as much storage capacity as possible and also be inexpensive.
You need a little RAM. Nen i3 actually does it as a CPU. Would then prefer Linux.
Can do most cheap laptops
Sounds like the question that often comes up here about the egg-laying wool milk sow…
In the price category ~ 600 euro, I would say you will surely find a lot, I think recommendable here (since more designed for the work area) devices from Lenovo. However, I would also advise you to use an external (additional) storage solution of whatever kind.
Which monitor is absolutely sniffing, most can work better with two or more screens, a curved monitor may not be so good, but that should be logical.
It is advantageous if the laptop has at least 8GB RAM and a relatively strong processor (i5, i7 or AMD equivalent), not necessarily only for programming, but for multitasking (research in the browser, IDE…).
To what extent does the monitor play a role? You can't program much better on a 4k 144hz monitor than with a Full HD 60hz monitor…
Or just ask the question correctly. XD
Pretty much every computer is sufficient for programming.
Entering a little bit of text and copying it from time to time doesn't really need resources.