C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
iOS
Java
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
7
Reply
Can I make a pure virtual function static?
nilesh katkar
18y
13.7k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
No ! since static method is not instance method or it will never call by instance by object. Hence you cant make pure virtual function as static
Pramod Lawate
9y
1
1:because static method can't be inherit.
2:we make pure virtual function to achive late binding and late binding is not possible without pure virtual function
sujeet singh
16y
0
sujeet singh
16y
0
No . u can't.
anant patil
16y
0
A static member cannot be marked as override, virtual, or abstract
Rekha Singh
16y
0
No, you cann't make virtual function as static
Malaikani Rajamani
16y
0
I have no idea.
nilesh katkar
18y
0
Message