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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:52:35+00:00 2026-05-30T04:52:35+00:00

I am a novice in Java, so the below question may look trivial. Background:

  • 0

I am a novice in Java, so the below question may look trivial.

Background:

Scenario 1:
I have a abstract base class C1 in Java with say N interface member functions.
The client uses this class as a package and implements Client1 the client business logic.
So Client1 using the package Package1 (which contains C1 class definition) is able to work with jar JAR1.

Scenario 2:
I want to understand the impact of adding new member functions to class C1. The class C1 with additional members (say we call C2) contains N+M member functions (which assume the client does not use) has jar file JAR2.

Now there can exists multiple combination of deployment –
Client1 (built on Package1) runs in environment of JAR1
Client1 (built on Package1) runs in environment of JAR2
etc

I am basically from a C++ background and there, the concept of vptr and its impact would be studied in details when a new interface is added to class which is exposed to clients.

Question:
a. How does these extension needs to be analyzed and implemented in case of JAVA (any material on the same is very helpful).
b. If this is a “safe option” in java, what are the other considerations we need to handle in such type of situation.

  • 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-05-30T04:52:36+00:00Added an answer on May 30, 2026 at 4:52 am

    To answer both questions:

    a) This article describes how the JVM loads and links class files: http://java.sun.com/docs/books/jvms/second_edition/html/ConstantPool.doc.html.

    b) As long as the signature of methods/public members doesn’t change, calling code will still work. Changing these will result in runtime exceptions when the class is loaded.

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

Sidebar

Related Questions

This question may seem like a novice, and perhaps 'stupid' question but please bear
I am a novice with Java. I have to implement an array of objects
I am a novice programmer when it comes to Java, I have Java:How To
First off - I'm rather novice at Java so if the question makes no
I have literally been searching for this for weeks. I am a novice java
I'm a Java novice taking a beginning programming class and I'm trying to finish
I'm relatively novice when it comes to C++ as I was weened on Java
I feel like a novice for asking this question -- but why is it
I have a CSV in this below format 11000,Christopher,Nolan,MR.,Inception,25993,France,Lefoullon,Paris,920,Director,*461-7755,33-461-7755,12175,O'Horner, James,12300,Glebova, Nathalie,,Christophe.Nolan@movies.com,Capital,NEW Regarding Java Split
My Parent class is : import java.io.IOException; public class Parent { int x =

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.