How these two codes are contradicting each other
http://tpcg.io/_MBK76KThis is the one similar to what taught during abstract classes tutorial
2nd one is written by me.
You will see error in terminal/ execution
This is with respect to object creation of abstract class through non abstract subclass
Java Abstract-Classes 00-01 min 0-10 sec
http://tpcg.io/_MBK76K --> This program is working fine.
http://tpcg.io/_MQVXOC --> There are many mistakes in the program and unable to understand the problem which you are attempting to solve. Please describe the problem which you are trying to solve.