+ Reply to Thread
Results 1 to 2 of 2

Thread: Can you allow class to be inherited

  1. #1
    Senior Member
    Join Date
    Apr 2008
    Posts
    13,341
    Rep Power
    141

    Can you allow class to be inherited

    Can you allow class to be inherited, but prevent the method from being over-ridden?



  2. #2
    Junior Member
    Join Date
    Jul 2008
    Location
    New Delhi
    Posts
    26
    Rep Power
    5

    Re: Can you allow class to be inherited

    yes, by using sealed keyword in method.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Can you allow class to be inherited
    By ShivaniX in forum C Sharp
    Replies: 0
    Last Post: 17-06-08, 12:47 AM
  2. Features Removed from C and C++
    By TAM in forum JAVA Technologies
    Replies: 1
    Last Post: 27-09-07, 05:35 PM
  3. C# - Can you prevent your class from being inherited
    By preethisingh in forum vb / asp.net Interview / Technical Questions
    Replies: 2
    Last Post: 26-02-07, 04:08 PM
  4. java JSP
    By naga in forum JAVA Technologies
    Replies: 4
    Last Post: 21-08-06, 04:03 PM
  5. Answers Wanted to these QUESTIONS ?
    By aparna3032 in forum JAVA Technologies
    Replies: 3
    Last Post: 23-02-06, 03:23 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Content Relevant URLs by vBSEO 3.5.1 PL1