Brototype interview question

how the oops working in java