Yes you can . Also for more info on this subject, feel free to consult this thread: How can one develop iPhone apps in Java?
Read moreHow Java is used in app development?
Java safeguards the native code from memory leaks and each platform in the Java language is used to compile for different functionalities in the Android development . Android apps can be developed using the different programming languages like Java, C, C++, HTML, python etc.
Read more