Monday, April 23, 2018

Ca we have an abstract class without abstract method ?

  1. abstract class MyAbstractExe {
  2. int x = 10;
  3. }
Yes ! we can have an abstract class without abstract method. There will not be any error.

No comments:

Post a Comment

Blueprint for self-improvement

To learn faster: Make the process fun To understand yourself : Write To understand the world better : Read To build deeper connection : Lis...