calling a class in another project Eclipse

前端 未结 7 938
执笔经年
执笔经年 2020-12-03 14:16

I have a project \"A\" and I need to call a class \"c\" from another project \"B\".

I have done the following. Click in \"A\" -->Properties -->Build Path --> and in

7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-03 15:14

    create project "A" as jar and add this jar in your project "B" build path.then you can call which class you want and import that class package name with calss name.

提交回复
热议问题