Diliru ChamikaHow Computers Deal With Floating Point NumbersThere is a standard for computers that how to represent the floating points. The standard is IEEE 754.Jul 20, 2022Jul 20, 2022
Diliru ChamikaUse of Factory Method Design Pattern.Factory method pattern is so close to the opposite of the singleton pattern. When you are using singleton pattern you should not use…Jul 19, 2022Jul 19, 2022
Diliru ChamikaSingleton PatternAs software engineers sometimes we have same set of problems that always occurring and we have same set of solutions for them. All of…Jul 19, 2022Jul 19, 2022
Diliru ChamikaHow Java ClassLoader and JVM Argument worksJava is incapable to load two different classes with the same name. If you give you same name to 2 classes ; JVM will load only 1 class.Jul 18, 2022Jul 18, 2022
Diliru ChamikaData Types In JVMIf you talk about the JVM data types there are 2 data types.Jul 17, 2022Jul 17, 2022
Diliru ChamikaJVM Part 2Let’s talk your personal laptop for a minute. You have JDK and JRE installed inside in your laptop. But you don’t have a JVM until you…Jul 17, 2022Jul 17, 2022
Diliru ChamikaWhat is Java Virtual Machine?Before get in to Java virtual machine lets understand what is a virtual machine. Simply virtual means something that does not exists…Jul 16, 2022Jul 16, 2022
Diliru ChamikaWhy division by zero is not infinite.Yes. This is where most of the software engineers struggle. Mathematically division by zero will be consider as infinite. But computers do…Jul 3, 2022Jul 3, 2022