What is the use of bin and lib in JDK?- | Eklavya Online

What is the use of bin and lib in JDK?-

Bin contains all tools such as javac, appletviewer, awt tool, etc., whereas lib contains API and all packages.

What is casting?– Casting is used to convert the value of one type to another.