Please open the configuration of the VM, go to Settings - System - Motherboard - Extended Features, and make sure "Enable EFI" is selected. Apply the setting and start the VM, the resolution should increase and you should be able to install eOS6 beta.
Here is what the above code is Doing:
1. It’s creating a variable called “message” and assigning it the value of the string.
2. It’s printing the value of the variable “message” to the screen.