Home / DeveloperSection / Interviews / How to define an Abstract class?
You haven’t finished your post yet. Are you sure you want to leave and discard your draft?
Can you answer this question?
Amit Singh
abstract class testAbstractClass { protected String myString; public String getMyString() { return myString; } public abstract string anyAbstractFunction(); }
You have need login or register for voting of answers or question.
Amit Singh
07-May-2011Example of Abstract class: