Posts

All blog are single page

Thanks for visiting my blog... I hope you are feel enjoy read my blog.....   All blog are available here.....  Hacker Rank Solutions C & JAVA Programs TechGIG_Solutions LeetCode 30 Days Challenge Data_Structure Java Interview Questions Series ServletNotes

Java Interview Question

Image
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...