Java Programming and Technical Programming Definition

Q. What is the use of bin and lib in JDK?

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

Read Solution (Total 0)

Java Other Question

Q. What are Encapsulation, Inheritance and Polymorphism?

A. Encapsulation is the mechanism that binds together code and data it manipulates and keeps both safe from outside interference and misuse. Inheritance is the process by which one object acquires the properties of another object. Polymorphism is the feature that allows one interface to be used for general class actions.
Q. What is method overloading and method overriding?

A. Method overloading: When a method in a class having the same method name with different arguments is said to be method overloading. Method overriding : When a method in a class having the same method name with same arguments is said to be method overriding.