JDBC is an API(Application Programming Interface) used to develop a java program that communicates with any DataBase server without changing the code.
- Can we use C program to communicate with Database?
Yes, we can use C program to communicate with database, but it is able to communicate with only one database.
JVM(Java
Virtual Machine) is a program whose responsible is to take the .class
file and convert the byte code instructions into machine code, and then
make it executed by the processor.
Part of JVM which loads the .class file into JVM's memory.
- Where does the memory is allocated to the class?
when we run a java program class is stored in a runtime memory area called Method Area.