I'm traveling tomorrow for the first time by train in ICE first class and I sit on the single page where there's only one seat at the window and because the ride is relatively long, I wanted to take my laptop only with no charging cable, my laptop does not last long is just my question if they are in the ICE where I sit also a socket
Yes.
However, there's usually a socket for two seats, so if your neighbor also wants to the outlet, you have to take turns.
I do not know, because I have not seen your seat. But if there's no outlet, then you just change the place.
The sockets are pretty hidden. In the normal two-seater seats they are under the seat (ie at knee height), between both seats.
I do not have one next to me
In all ICE trains there in first grade one outlet per seat, in second grade, a double seat.
In other trains that can look different in the IC, there are, for example, in unmodernisierten car only individual outlets, on regional trains in part no. But in the ICE you do not need to worry.