No matter which of these you own, the core will still remain the same, and the upgrades you receive will be entered around the core version of Android, and not the UI. The UI will get upgraded by the OEM in question, only after they have released the major upgrade.
Now, if you are wondering what version of Android your smartphone is running, this is how you can check.
Table of Contents
Open the ‘Settings‘ app on your Android smartphone.
In the settings menu, tap on the ‘About Phone‘ option.