Java Interview Question
Agenda: Basic Java Questions OOPS Questionds Servlet JDBC Spring Hibernate ----------------------------------------------------------------------------------------------------------------------------- Que:What is difference between JDK,JRE,JVM? Ans: JVM(java Virtual Machine) is an abstract machine. It is a specification that provided runtime environment in which java bytecode can be executed. JRE(java runtime environment) is a runtime environment which implements JVM and provides all class libraries and other files that files JVM uses at runtime. JDK(java Development Kit)is the tool necessary to compile document and package java program. The JDK completely includes JRE. Que: what is synchronization ? Ans: Synchronization is a process which keeps all concurrent threads in execution to be in sync. Synchronization avoid memory consistency error caused due to inconsistent view of shared memory. Que What is difference between process and th...
Comments
Post a Comment