Can we add java progam to current article written by some one else, give credit to original article and authors and publish improved version without any type of violation with similar title to article?
The original article can be republished - improved or not - only with the consent of the authors and the copyright holder (in most cases the publisher as the owner of the journal). You should first contact the authors.