Different modules for C and Java

1) . If (1) changed
2). Two different functions for C and Java