Yearly Archives

Myth about the file name and class name in Java

The first lecture note given during java class is “In java file name and class name should be the...

Myth about the file name and class name in Java

The first lecture note given during java class is “In java file name and class name should be the...

Is main method compulsory in Java?

The answer to this question depends on the version of java you are using. Prior to JDK 7, the...

Is main method compulsory in Java?

The answer to this question depends on the version of java you are using. Prior to JDK 7, the...

JDBC Drivers

Java Database Connectivity (JDBC) is an application programming interface (API) for the programming language Java, which defines how a...

JDBC Drivers

Java Database Connectivity (JDBC) is an application programming interface (API) for the programming language Java, which defines how a...

How is Java platform independent?

The meaning of platform-independent is that the java compiled code(byte code) can run on all operating systems. A program...

How is Java platform independent?

The meaning of platform-independent is that the java compiled code(byte code) can run on all operating systems. A program...

Does JVM create object of Main class (the class with main())?

Consider following program. class Main { public static void main(String args) { System.out.println("Hello Everyone!"); } } Output: Hello Everyone!...

Does JVM create object of Main class (the class with main())?

Consider following program. class Main { public static void main(String args) { System.out.println("Hello Everyone!"); } } Output: Hello Everyone!...

Differences between JDK, JRE and JVM

JAVA DEVELOPMENT KIT The Java Development Kit (JDK) is a software development environment used for developing Java applications and...

Differences between JDK, JRE and JVM

JAVA DEVELOPMENT KIT The Java Development Kit (JDK) is a software development environment used for developing Java applications and...

Java Class File

A Java class file is a file containing Java bytecode and having .class extension that can be executed by...

Java Class File

A Java class file is a file containing Java bytecode and having .class extension that can be executed by...

JVM Shutdown Hook in Java

Shutdown Hooks are a special construct that allows developers to plug in a piece of code to be executed...

JVM Shutdown Hook in Java

Shutdown Hooks are a special construct that allows developers to plug in a piece of code to be executed...

Java Virtual Machine (JVM) Stack Area

For every thread, JVM creates a separate stack at the time of thread creation. The memory for a Java...

Java Virtual Machine (JVM) Stack Area

For every thread, JVM creates a separate stack at the time of thread creation. The memory for a Java...

How JVM Works – JVM Architecture?

JVM(Java Virtual Machine) acts as a run-time engine to run Java applications. JVM is the one that actually calls...

How JVM Works – JVM Architecture?

JVM(Java Virtual Machine) acts as a run-time engine to run Java applications. JVM is the one that actually calls...