DhanashriConstructor in JavaA constructor is a special method that is used to initialize an object.Jul 30, 2020Jul 30, 2020
DhanashriLooping in Java:Java provides three repetition looping statements that enables to control the flow of execution by repetitively performing a set of…Jul 22, 2020Jul 22, 2020
DhanashriPrimitive data types: The primitive data types include boolean, char, byte, short, int, long, float…Non-primitive data types: The non-primitive data types include Classes, Interfaces, and Arrays.Jul 11, 2020Jul 11, 2020
DhanashriVariables in JavaA variable is a name which is associated with a value that can be changed. For example: int i=15; here variable name is i which is…Jul 8, 2020Jul 8, 2020
DhanashriDifference between C++ and Java1.C++ is a platform dependent language.The source code written in C++ needs to be compiled on every platform. Whereas Java is…Jul 2, 2020Jul 2, 2020
DhanashriJVM Architecture JVM is only a specification, and its implementation is different from vendor to…1) ClassloaderJul 1, 2020Jul 1, 2020
DhanashriJVM (Java Virtual Machine) ArchitectureJVM (Java Virtual Machine) is an abstract machine. It is a specification that provides runtime environment in which java bytecode can be…Jul 1, 2020Jul 1, 2020