What is the output of this program in java?
package test; class A { String sdlc; A(String sdlc) { this.sdlc= sdlc; this.sdlc = sdlc.toLowerCase(); } } class B extends A {public B(String sdlc) { super(sdlc); this.sdlc.toUpperCase(); } }public class Main { public static void main(String args[]) { A obj= new B(“Requirement analysis, Design, Development, Testing,Implementation, Maintenance”); System.out.println(obj.sdlc); }}
Expert Answer
An answer will be send to you shortly. . . . .