can i run game with both c and java languages ??

i completed small tutorial,it has moving,firing,climbing with c language…i want to add some more action to my i completed “door open and close with key” logic tutorial,but it is in java.i added java script game and its working without my game there is no calling functions btween c and question is , this is right??..this game work in mobiles?? working without problem in unity play mode.

It is possible to use both languages, but using both is not recommended. It can get very difficult if you need to call methods between classes written in C# and Javascript. I would recommend sticking to one language.