Java Interview Programs

Below are frequently asked java programs in an interview. You can also go through the top 50 java interview questions.
You may also go through the other important interview questions like:

We have to categorize our Java programs in different segments.

1. STRING