238. super 호출 안에서 불린 메서드의 동적 바인딩
다음 Java 프로그램의 실행 결과를 쓰시오.
1class Base {2void show() {3System.out.print("B");4tag();5}6void tag() {7System.out.print("b");8}9}1011class Sub extends Base {12void show() {13super.show();14System.out.println("S");15}16void tag() {17System.out.print("s");18}19}2021public class Main {22public static void main(String[] args) {23Base x = new Sub();24x.show();25new Base().show();26System.out.println();27}28}