Difference between Class and Object.

Class is a blue print or a model, objects are actual things which are created using these blue prints/models.

Generally, objects are created at runtime when you start JVM with java command and JVM will start executing your code, whenever JVM encounters new keyword it will create an object.

Comments

Popular posts from this blog

Priority Scheduling Algorithm Java Program.

Implement UNIX system calls like ps, fork, join, exec family, and wait for process management (use shell script/ Java/ C programming).

Round Robin Scheduling Algorithm Java Implementation.