/*Contoh Inheritance dan Polymorphism pada Java Author: Rieqy Muwachid Erysya(RieqyNS13) Twitter: @RieqyNS13*/ import java.util.*; import java.util.Scanner; class Game{ public static void main(String[] args){ Leon leon=new Leon(100,23,2,"Leon"); AdaWong adawong=new AdaWong(100,30,3,"Ada Wong"); JackKrauser jackkrauser=new JackKrauser(150,22,1,"Jack Krauser"); System.out.println("1. Leon menyerang Ada Wong"); System.out.println("2. Leon menyerang Jack Krauser"); System.out.println("3. Ada Wong menyerang Leon
(.*?) /g;var o=n.description;if(r.test(o)){n.description=o.match(r)[2];if(n.description!=undefined)n.description=n.description.replace(" ","").replace("