Which is the output?class A{greet(){return "a"}} class B extends A{greet(){return "b"}}\nconsole.log(new B().greet());