February 2019
Intermediate to advanced
442 pages
11h 46m
English
In a procedural programming model, a task is described as a series of actions executed in a sequential order. On the other hand, the Reactive Programming model facilitates the necessary arrangement to propagate the changes, which help in deciding what to do instead of how to do it.
Let's understand the concept with a very basic example, as follows:
int num1=3; int num2=5; int num3 = num1 + num2; System.out.println("Sum is -->"+num3); num1=6; num2=8; System.out.println("Sum is -->"+num3);
This is what we generally do in a procedural programming style. In this code, we are simply doing a summation of two numbers assigned to the third number and then printing it. In the next line, we are changing the value of ...