Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7794719
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T22:51:23+00:00 2026-06-01T22:51:23+00:00

Greeting !! i wnt to know more about abstact class and Interface . and

  • 0

Greeting !! i wnt to know more about abstact class and Interface . and terminology to inhereted like abstract class extends and interface implements.need a help .please solve my problem.provide some example with matter .

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T22:51:25+00:00Added an answer on June 1, 2026 at 10:51 pm

    An abstract class is a class which is NOT instantiated, so there is no such thing like this:

    <?php
       $p = new person();
    ?>
    

    The abstract class can only be inherited and not used directly. You use it as a base class where you put all the code that other classes can share.

    An interface is like an agreement which methodes a class must implement:

    // Declare the interface 'iExample'
    interface iExample
    {
        // methodes
    }
    
    // Implement the interface
    // This will work
    class Thingy implements iExample
    {
        // implement the methodes specifies in the interface
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to know how to display the greeting message Welcome User, You
Greeting, I would like the jqueryui datapicker to use polish localization. Additionally, the dates
Greeting.. In Browser Html is <div tabIndex=0 title=People Picker class=ms-inputuserfield>Administrator</div> i want to replacewith
Greeting! I'm trying to make redirect via htaccess the URL http://domain.com/?lang=ru need to be
greeting folks, I need to reference an external service in my MVC app. I'm
HTML: <p class=greeting> hello, my name is kevin. what's yours? </p> jQuery: $(p.greeting).filter(function (){
in jsf2 if we have some function like public String greeting(String gtr) { return
Groovy has a concept of GStrings. I can write code like this: def greeting
Greeting all wise man! I really need your help here as I'm new to
Greeting of the day I am facing a problem in my application. I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.