Which one of the following is the correct way to declare a pure virtual function?

Question:Which one of the following is the correct way to declare a pure virtual function?

1.virtual void Display(void){0};

2.virtual void Display = 0;

3.virtual void Display(void) = 0;

4. void Display(void) = 0;


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!