Can you lose wait by just excersising and eating fruit and a little junk food?

Losing weight all depends calories in compared to calories out however eating only fruit and junk food would mean you were getting alot of sugar/carbs. You need some protein otherwise you will look very skinny with little muscular definition