+ 6
Java developer vs Android developer
Question to Java developers. I have 2 yrs android experience with several aps produced. Do you think I could apply and actualy be accepted as Java developer?
2 Réponses
+ 6
Mamy Thanks Dawg! I did not expect someone will give such compendium od guiding questions 😁. This is very helpful!
+ 2
Possibly. Depends on your level of understanding and what types of things you did in your apps.
Here's a few questions to see if you may be ready. Try not to look up any of the answers before you answer them! You don't have to actually post your answers, just answer them for yourself to gauge you level of experience. Good luck!
1. What is difference between JDK,JRE and JVM?
2. What is the difference between the heap and the stack?
3. What gives Java its 'write once and run anywhere' nature?
4. Will a Java file with the name .java compile and run? (not filename.java but just .java)
5. If I don't provide any arguments on the command line, then the String array of Main method will be empty or null?
6. What is the default value of the local variables? ({String str;})
7. What will be the initial value of an object reference which is defined as an instance variable?
8. Can we execute a program without main() method?
9. What is a static block and when is it executed if it is in your starting (main) class?
10. Create a try with resources, a lambda, and a functor.
11. Can you declare the main method as final?
12. What is difference between Checked Exception and Unchecked Exception?
13. Can subclass overriding method declare an exception if parent class method doesn't throw an exception ? If so, which type, checked or unchecked?
14. Make a String from a char array in 1 evaluating statement.
15. What is the difference between StringBuffer and StringBuilder? How should they be used?
If you got through those without a hitch, kudos. You may very well be ready. This is a small taste of what some interview questions for a Java programming job could be.