Brototype Interview Question

how the oops working in java