One of my class diagram has a Jbinit() which contains a few other classes. How am I supposed to rep this in UML? Nested class? Dependency? <> ?

I guess you are talking about the your Jbinit() function used few other classes. In this case, I think you may use Dependency relationships to show.