Author: Gennadiy Shevtsov

Simple Calculator (Android)

How to start: 1. Install Android Studio and create empty Activity 2. We will be using class EvaluateEngine from Rhino  3. Click on build.gradle(Module: app) and set the following parameters: Read more

Variables and Datatypes

Datatype Table Datatype Size Range Int 4 Bytes -2147483648 … +2147483647 Boolean 1 bit true or false Byte 1 Byte(8 bit) -127…+127 short 2 bytes -32.768 – 32.767 long 8 Read more

Arrays

Arrays An array is used to store more variables into 1 variable. It starts from int[] with square brackets +variable name and the definition of the datatype(in this case: new Read more

Constructor java

Constructor is a block of code of another class.The main purpose of it is to instantiate an object of the other class.In general it’s possible to programm any code in Read more

Modifier

In this tutorial, we will learn 2 types of most important modifiers „private “, “public“ and  a simple class with overloaded methods. Every class and variable have a modifier, and Read more