T
T
Timofey Shkredov2021-06-18 19:44:46
Java
Timofey Shkredov, 2021-06-18 19:44:46

How do java libraries work?

How do java libraries work? I just don't really understand how it works

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan, 2021-06-18
Hasanly @azerphoenix

It would be nice to be specific about the question. For example, which Java library are we talking about?
In general, let's assume that you have some library with some class Human, which has some method bmi (), which calculates the body mass index (BMI).
And let's say you want to implement the BMI calculation functionality in your application. You include the library in your project (via maven, gradle or without them), import the required class and work with it.
That's all...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question