Add a bit Java code

Add a bit Java code