Open in app
Home
Notifications
Lists
Stories

Write
Hasini Baddegama
Hasini Baddegama

Home

Mar 6

Numbering System edge cases of Java

When we are developing a Java Application we are using data types. There are some numerical data types. As examples int, double, float, long. Most of the time we are using those data types for arithmetic operations. There is a special kind of thing that, these data types going to…

2 min read

Numbering System edge cases of Java
Numbering System edge cases of Java

Mar 5

Execution Engine in JVM

The central component in the JVM(Java Virtual Machine) is known as the Execution Engine. Memory areas located in JVM directly communicate with the Execution Engine. Another important thing is Execution engine creates distinct instances that are known as threads for each Java running application. Mainly Execution engine executes Java class…

2 min read


Mar 4

Memory Area in JVM

All the information provided by the ClassLoader will be stored in the Memory area in JVM. There are five main areas in Memory. They are, · Method Area · Heap · Stack · PC Register · Native Method Area When we talk about the Method area it is responsible to…

2 min read

Memory Area in JVM
Memory Area in JVM

Mar 4

ClassLoader in JVM

Classloader is loading the class file to the memory area. The above diagram will explain the overall function of the ClassLoader in JVM. But when we go deep, we can identify more functionalities other than the above-mentioned one. In this article let’s try to understand what are those functionalities. In…

4 min read

ClassLoader in JVM
ClassLoader in JVM

Mar 3

Data Types in JVM.

There are several kinds of data types available with JVM. But data types are not exactly the data types that exist in the Java language. But most of the times data types in Java language and the data types that exist in JVM are the same. There are two main…

2 min read

Data Types in JVM.
Data Types in JVM.

Mar 3

Factory Design Pattern

The most common design pattern used to build applications is the Factory Design pattern. let’s say you have an interface and you have multiple implementations for the same interface. In this scenario, you can use a factory design pattern. …

3 min read

Factory Design Pattern
Factory Design Pattern

Mar 2

Singleton Design Pattern

What is Singleton Design Pattern? It means that you can create only one instance of a class. As an example, there is a class called Abc. Next, I created one instance of the Abc class. …

3 min read

Singleton Design Pattern
Singleton Design Pattern

Mar 1

Introduction to Java

Source file The file has a .java extension and should start and end with pair of curly braces. It is the source code of your program. Class Class is a blueprint to create objects. One or more methods can exist inside a Java class. As an example Pen is a…

2 min read

Introduction to Java
Introduction to Java

Jan 31

What is Java

Java is an open-source programming language. It was first released by Sun Microsystems in 1995. Java is a simple and powerful high-level object-oriented programming language. It originated at some Microsystems in 1991. It was conceived by James Gosling and was initially called Oak. The latest version of Java is 13…

4 min read

What is Java
What is Java

Jan 31

Java Dates

Built-in Date class cannot be found in Java. For that, we can import java, time packages in order to work with data and time. This package includes several dates and time classes. Following are some examples of that. LocalDate : Represents a date (year, month, day (yyyy-MM-dd)) LocalTime : Represents…

2 min read

Hasini Baddegama

Hasini Baddegama

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable