If you get a prostate exam and like the feeling does it mean you will be gay?

No. Individuals who enjoy the sensation of prostate stimulation do not necessarily have a gay or bisexual sexual orientation. Gay men desire to have physical and emotional relationships with other men. This does not necessariy apply to men to enjoy anal or prostate stimulation.
NO. Gay or strait is sexual orientation, it does not mean you are gay or not.