Is Java or Python beneficial for a fresher to get jobs?

Yes, If someone is good at Java or in Python so the chances of placement goes high. As Java and python both are very popular in industry so if you are good at java or in pyhton and if you can make applications by using any of these programming languages then the chances of getting a job will be higher.