May 11, 2021

Tag: interview java questions

Java

Java Interview Questions and Answers

Java Interview Questions and Answers 1. What gives java it’s “write once and run anywhere” nature? ANS: All Java programs are compiled into class files that contain byte codes. These byte codes can be run in any platform and hence java is said to be platform independent. 2. Explain working of Java Virtual Machine (JVM)? […]

Read More
Java

Java Static Interview Questions and Answers

Java Static Interview Questions and Answers 1. When to use static operations? ANS: Static context is necessary is during program start-up because the Java entry point method is static. This means that variables and methods required during start-up may need to be static too, but the principle should be to create a primary core object […]

Read More