Christiaan Thamm wrote:where can I find the source code for the methods I use. Like for example im trying to find how the String Class Replace method was done...
There's nothing particularly wrong with looking at source code to "find out how the experts do it", but do be very careful that you don't fall into the trap of writing programs that rely on (or assume) a particular implementation.
There's a reason the designer hid the source from you: they might want to
change it later.
Also: while you can get source for most of the Java foundation classes, you may not be able to get it for 3rd party libraries or jars.
Winston