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 8794241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:13:31+00:00 2026-06-13T23:13:31+00:00

We have 2 JAVA classes related to a project, call them AGraph and CallGraph

  • 0

We have 2 JAVA classes related to a project, call them AGraph and CallGraph. We also have an interface named Graphism which is implemented by AGraph. There’s one abstract class we have, named GraphSnippet, which basically creates a visualization of a ZEST graph.

Now, we want CallGraph to extend AGraph. My silly doubt here is, does CallGraph need to implement the interface Graphism as well?

Next, instead of making GraphSnippet an instance of the Graph class (Graph is a pre-defined class in the ZEST package), we want it to be an instance of CallGraph so that the functionalities of CallGraph and AGraph become a part of the implementation. And because we’ll need the class AGraph during the later stages, we can’t really knock this class out and get all its methods implemented in CallGraph.

Could someone help us with how to start with it? It’s difficult for us, novice JAVA programmers, to figure out a way?

PS: We’re working on Eclipse-JUNO.

  • 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-13T23:13:32+00:00Added an answer on June 13, 2026 at 11:13 pm

    Now, we want CallGraph to extend AGraph. My silly doubt here is, does
    CallGraph need to implement the interface Graphism as well?

    Yes, but you won’t have to do anything. Because it extends from AGraph, it will already implement Graphism. You won’t have to mark this anywhere in your code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Java has file related exception classes. Do C++ or Qt have similar classes?
I have two java classes as follows App1 without a package: class App1 {
I have some java classes like, Class User { String email; String name; String
I have a Java program that generates Java classes for my application. Basically it
I have a huge java codebase (more than 10,000 java classes) that makes extensive
I have a bunch of third-party Java classes that use different property names for
I have this Maven task to generate Java classes from an XSD file using
I'm looking at some Java classes that have the following form: public abstract class
I have to refactor and maintain a bunch of horrible similar looking Java classes.
I'm using Apache BCEL to dynamically create java classes that will each have its

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.