- abstract public class MyAbstractExe {
- MyAbstractExe exe = new MyAbstractExe();
- }
No ! we can not create the object / instance of an abstract class. Compiler will give an error at line 2 saying cannot instantiate the type MyAbstractExe
To learn faster: Make the process fun To understand yourself : Write To understand the world better : Read To build deeper connection : Lis...
No comments:
Post a Comment