Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > Javascript

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 03-03-2016, 10:15 PM   #1
Shivangi Panwar
Registered User
 
Join Date: Nov 2015
Posts: 127
Can we declare a class as Abstract without having any abstract method?

Yes we can create an abstract class by using abstract keyword before class name even if it doesn’t have any abstract method. However, if a class has even one abstract method, it must be declared as abstract otherwise it will give an error.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Shivangi Panwar is offline   Reply With Quote

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Shared SEO Hosting Plans at Best Price with Best Features | RankFirstHosting.Com rf-harris Post your ad here 0 12-30-2015 06:31 AM
check the call to a method in VB.NET ncjbhd ASP 2 04-19-2013 03:21 AM
The Best Sharecash Method Ever $800+++ A Day 2012 sharecashmethod Post your ad here 0 03-12-2012 08:22 PM


All times are GMT -7. The time now is 12:44 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.