Igor Turko

  • Java if then else Statement

    What is an if-else Statement? An if-else statement is a control flow statement that allows you to execute different blocks of code depending on whether a condition evaluates to ‘true’ or ‘false’. This enables you to build logic into your programs, making them more versatile and interactive Syntax of If-Else Statements The basic syntax…

  • C# If Statement

    What is the if Statement? In C#, the ‘if‘ statement is used to evaluate a boolean expression – an expression that results in either ‘true’ or ‘false’. Based on the result of this evaluation, the ‘if’ statement will execute a block of code. If the condition is ‘true’, the code inside the if block runs; if it’s ‘false’, the code is skipped.…

  • Java If Statement

    What is the if Statement? In Java, the ‘if‘ statement is used to evaluate a boolean expression – an expression that results in either ‘true’ or ‘false’. Based on the result of this evaluation, the ‘if’ statement will execute a block of code. If the condition is ‘true’, the code inside the if block…

  • Java Unary Operators

    Definition:Unary Operators are the operators that are performed on a single operand. Syntax:Let’s look at the syntax of the Unary Operators. Learn the following topics before learning Unary Operators.

  • Java Arithmetic Operators

    Definition:Arithmetic Operations is just like it sounds, you can perform the operations on numerical values as well as numerical variables. Syntax:First, let’s see what it looks like when directly printing to console. Now let’s take a look at the Arithmetic Operations using and storing them in a variables. We can also declare two numbers…

  • C# Add IWebElements Text Into a List

    Here we have ready to use function to add all IWebElements text into a List collection when working with Selenium C#. This is a very simple function that works well, to use it you will only have to enter XPath that you will be getting your elements from, and change variables to fit your…

  • Java Concatenation

    Definition:Concatenation is the process of combining any and all of data types (strings, integers, doubles or floats, chars, a even a boolean). Syntax:Here is some examples of how concatenation works and when to use it: Homework:Heres a little homework that you can try on your own, try to complete it without looking for help,…

  • Java Boolean

    Java Boolean

    Definition:Boolean data type only holds two values, either true or false. Syntax: Application:Boolean can be used in variety of cases, for example, when you need to check if one value is bigger then the other, which will return you a true or falls. Let’s break it down and see what actually happens when boolean…

  • Java Char

    Java Char

    Definition:Char data type holds only single character value, for example: ‘a’ or ‘A’ or ‘@’ etc. Syntax: Note that char data type must be surrounded by single quotes.

  • Java Double and Float

    Java Double and Float

    Definition:Double and Float both are numerical data type which holds positive or negative with decimal points. Difference:Float – is suited for up to 7 decimal pointsDouble – is suited for up to 15 decimal points Let’s see an example: