与包装有关的问题 [英] Problem related to Package

查看:95
本文介绍了与包装有关的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了3个程序包.

首先是接受包裹:
在Accept Package中,我创建了一个名为accept的类和一个名为acceptdetails的函数.

第二个是展示广告包:
在Display Package中,我制作了一个名为display的类和一个名为displaydetails的函数.

第三个是 AcceptDisplay程序包:
在AcceptDisplay Package中,我创建了一个名为Main的类和一个名为main的函数.

我将接受包和显示包导入到我的AcceptDisplay包中,以便可以在主要功能中使用它们.问题是:我可以接受详细信息,但不显示相同的内容.

如何显示它们?
请帮我.如果您想要验证码,请告诉我,我会将其发送给您.

在此先感谢
Shweta:rose:

I have created 3 packages.

First is Accept Package:
In Accept Package I made one class named accept and a function named acceptdetails.

Second is Display Package:
In Display Package I made one class named display and a function named displaydetails.

And the Third is AcceptDisplay Package:
In AcceptDisplay Package I made one class named Main and a function named main.

I import Accept and Display Packages into my AcceptDisplay Package So that I can use them in my main function. The problem is: i am able to accept the details but does not display the same.

How can I display them?
Please help me. If you want the code then tell me i will send it to you.

Thanks in Advance
Shweta :rose:

推荐答案

ShwetaSaxena写道:
ShwetaSaxena wrote:

我能够接受详细信息,但不会显示相同的内容.

i am able to accept the details but does not display the same.



无法猜测您的代码有什么作用,因此您将需要张贴您认为有问题的部分(请更新您的问题并将代码放在< pre></pre>标记之间).我也许还会问为什么您将应用程序分成三个软件包,因为它们似乎密切相关.



It is impossible to guess what any of your code does so you will need to post the part that you think has the problem (please update your question and put code between <pre></pre> tags). I would also perhaps question why you have separated your application into three packages since they appear to be closely related.


这篇关于与包装有关的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆