typescript

Never type in typescript with example

How to use never type in typescript. never type is a type of values that never occurs. Learn how to use never type with example in typescript.

Read
typescript

static in typescript with example

How to use static in typescript. static is used to create static members and static members can be accessed without creating an object of a class.

Read
typescript

readonly keyword in typescript with example

How to use readonly keyword in typescript. readonly keyword is used to make a type, class or interface read-only in typescript.

Read
flutter

Different ways to create a GridView in Flutter

Learn how to create a gridview in Flutter in different ways. We will learn four different ways to create a gridview component.

Read
c#

C# program to compare two dates

How to compare two dates in c#. The program will read the year, month and day as input from the user and compare both dates.

Read
c#

C# program to replace all commas with newline in a string

Learn how to replace all commas with newline in a string in C#. The program will read one string from the user.

Read
java

Java program to find the area of a Trapezoid

Java program to find the area of a trapezoid. This program will take the base and height of the trapezoid as input from the user and print the area of the trapezoid.

Read
java

Java program to find the sum of all odd numbers in an array

Java program to find the sum of odd numbers in an array. This program will take the numbers as input from the user, add them in an array and print the sum of all odd numbers in that array.

Read
java

4 ways in Java to get the sum of even numbers in an Array

Java program to find the sum of all even numbers in an array. This Java program will take the numbers as input from the user and print out the total sum of all even numbers.

Read
java

Java Program to find the first digit of a positive or negative number

Java program to find the first digit of a positive or negative number. We will learn three different Java programs to find the first digit of a number with examples.

Read