Computer Science, asked by francispeters710, 3 months ago


What is package? How package is related with function?​

Answers

Answered by mvpatagar21
0

Answer:

A package is a namespace that organizes a set of related classes and interfaces. Conceptually you can think of packages as being similar to different folders on your computer. You might keep HTML pages in one folder, images in another, and scripts or applications in yet another. Because software written in the Java programming language can be composed of hundreds or thousands of individual classes, it makes sense to keep things organized by placing related classes and interfaces into packages.

In ChainLadder package, when I try to run line by line of language -> BootChainLadder, there are some functions used such as getDiagonal, checkTriangle, getIndivDFs etc, which throws an error as couldnot find function "XXXX"

For example: when using getDiagonal error is

Error in getDiagonal(xxxx) : could not find function "getDiagonal"

I am not sure are these functions are used from different packages. Can someone help me how to fix this?

Similar questions