hello, i need a help, i wanna make a program which deals with boolean algebra functions. i will enter a function like ( xy+x'+y'(x'+y) ) or any function and the program shoul get the complement of it. actually i don't know how to solve it.

Well, understanding how to solve it is going to be pretty important to coding it, wouldn't you say? You need to start with some pseudocode of your approach and then start writing the Java code to carry it out. Post your code and specific questions if you have difficulties.