Oil is hydrophobic, which means that it repels water. The ice cube will immediately begin to melt as soon as it is placed in the oil. Because oil is hydrophobic, it will not mix with the water.
If you leave the beaker overnight, you'll notice that the water sinks to the bottom and the oil floats to the top. This is because water has a higher density than oil, causing it to sink.
Hope this helps!