Moving joomla files to new domain

Can I build a Joomla site in one sub domain and after its complete move it to another with correct named domain?

yes. its just a matter of moving the files and updating the configuration file that joomla has for the paths to everything.