This post shows how to run Ballerina On Command-Line without installing the Java Development Kit (JDK) in Windows 10 64-bit. Instead, we use a zip distribution of Java with only two environment variables. This distribution of Java is self-contained that
Chapter 8: Java Primitives in The OOP World
Java primitives are predefined basic data types that exist in the Java programming language. We do not need to create them as we would with our custom Java classes. What Are Basic Data Types in Java? Java primitive types hold
Python Basic Syntax – An Introduction For New Learners
In terms of basic syntax, Python 3 has a lot of similarities with Perl, PHP, and Ruby. Many tutorials would include Java, but that is not even remotely true. This post is an introduction to Python’s basic syntax designed for
Chapter 1: Introduction To Python 3 That Does Not Bite
Python is a general-purpose programming language that is available in many operating systems. When we run a Python program, we run it using the Python interpreter. However, there is more to that than meets the eye. The Python interpreter reads
IntelliJ IDEA And Ballerina Plugin Configuration
This post shows how to install Ballerina and OpenJDK 8 using ZIP distributions, add on its IntelliJ plugin, and create a Ballerina project in Intellij IDEA. We are going to use OpenJDK 8 because Ballerina 1.2.6 only works on that
Chapter 7: Java Classes And Access Modifiers – Review
Java classes and their variables and methods can use access modifiers – private, public, protected, and package-level (no keyword). These access modifiers set the classes’ visibility, constructors, and instance or class variables and methods to the other parts of the
docker-compose.yml For PgAdmin And PostgreSQL
In this post, we’ll set up PgAdmin and PostgreSQL containers with docker-compose.yml for local development. We’ll also configure PgAdmin to access the PostgreSQL database under the same bridge network. Typically, we don’t deploy a PgAdmin container alongside a PostgreSQL container
Compare Dates In Java That Are Of Different Date Types
As of Java 8, there are at least three different types of dates available for developers. As a result, the usage of these various types of dates sometimes causes problems, especially when we compare dates in Java. We perform dates
Chapter 6: Java Object And Its Properties And Behaviors
We write codes that create Java objects from Java classes. These can have properties and behaviors. Properties are data with names; while, behaviors are the actions an object can perform on its properties. Consider the following Java class without properties
Chapter 5: Java Classes – The Blueprints And Building Blocks
In How To Write Your First Java Program, we installed an IDE and wrote a basic Java program. We also learned about the essential components of that program’s Java source codes – the keyword class and the main method. Here