Skip to content

IslandTropicaMan

Software, Pc Game and Programming Languages

Here is how to create a collection object which extends ArrayList

Posted on January 1, 2023January 1, 2023 By IslandT

The below Java example shows how to create a collection object which extends ArrayList. The below program does two things 1) Adds in a few string objects and one in between 2) Finds the index of a particular string object in the collection object. The outcome is as follows:-

Java Collection

Here is how to write a conditional type chaining program in TypeScript

Posted on December 28, 2022December 28, 2022 By IslandT

In the below typescript program, I am applying conditional type chaining to display the outcome on the output console. Conditional types can get chained together to return a specific type. The outcome of the program is as follows:-

Type-Script

Here is how to construct a type based on a subset of properties of another type in Typescript

Posted on December 26, 2022December 26, 2022 By IslandT

In order to create a type from another type in TypeScript, used the Pick mapped type which will construct a type based on a subset of properties of another type as follows:- As you all can see Pick allows us to pick properties that require us to create our type from the original type! The…

Read More “Here is how to construct a type based on a subset of properties of another type in Typescript” »

Type-Script

Use function to replace value of global variable in PowerShell

Posted on December 26, 2022 By IslandT

Here are the steps to replace the value of a global variable in PowerShell:- 1) Create a function like this 2) Before the function calls 3) Next call the above function with a dot in front of it and then replace the value of the global variable with the one specified. The PowerShell’s global variable…

Read More “Use function to replace value of global variable in PowerShell” »

Power Shell

Here is how to iterate through collection using for loop in Kotlin

Posted on December 26, 2022 By IslandT

The below Kotlin program will iterate through the collection using for loop. The above Kotlin program will display the following outcome:-

Kotlin

Here is how to find factorial of a number in Kotlin

Posted on December 25, 2022December 25, 2022 By IslandT

Below is an example to find the factorial of a number in Kotlin programming language using the do-while loop and using the scanner object to read the user input. Run the above Kotlin program to get the following outcome:-

Kotlin

Here is how to create a Scanner in Kotlin

Posted on December 24, 2022 By IslandT

A Scanner is used to reading the user’s inputs in Kotlin. Below is an example of how to create a Scanner and then use it to read the user’s inputs and add them up. Let us run the above program and enter two numbers to get the answer as follows:-

Kotlin

Here is how to create a higher order function in Kotlin

Posted on December 21, 2022 By IslandT

A higher-order function in Kotlin will accept another function as its parameter and then returns that function to the caller. The higher-order function in the below example will accept two parameters and another function which will get returned to the caller and then returns the result of the power of a number to its caller….

Read More “Here is how to create a higher order function in Kotlin” »

Kotlin

Here is how to write a function which adds up two numbers in Kotlin

Posted on December 20, 2022 By IslandT

The below Kotlin program will add up two numbers with the use of the add function. The add function above will return the outcome of x plus y to the result’s variable.

Kotlin

This c program will show the size and range of int 64

Posted on December 20, 2022December 20, 2022 By IslandT

The below c program will show the size and range of int 64, in order to use a few methods and constants to find the size and the range of int 64, these two headers are included in the c program file. The entire program is as follows:- The above program will show the below…

Read More “This c program will show the size and range of int 64” »

C program

Posts pagination

Previous 1 2 3 … 16 Next

IslandTropicaMan

↑ Grab this Headline Animator

Categories

  • C program
  • Gaming
  • Java
  • Java Collection
  • Java Game
  • Java Generic
  • Javascript
  • Kotlin
  • Power Shell
  • Python
  • Python Tutorial
  • Software
  • Swing
  • Type-Script

Get new posts by email

ArrayList button class combo box earning project enum for loop function interface Java javascript Javascript Iterable javascript iteration result object Javascript iterator Javascript promise kotlin Matplotlib message box Multitask power shell powershell powershell switch pycharm pygame pygame drawing pygame moving circle pygame project chess pygame rectangles pygame update method python python application python class python function python project python tutorial ShotCut.software Stockfish Swing tkinter tuple typescript typescript function visual studio code while loop wxPython

  • Create multiple assignments in PowerShell
  • How to compile and run c program in visual studio code
  • How to print numbers from a range in Kotlin
  • How to output words on a Power Shell screen?
  • How to search multiple lines with Python?

Recent Comments

  1. Rainer on Python Example – Group telephone number using the re module
  2. Rainer Mansfeld on Python Example — Write a python program which will save the user inputs into a Pickle file
  3. Rainer Mansfeld on Python Example — Write a Python program to find the permutation of an event
  4. Rainer Mansfeld on Python Example — What is the total ASCII values of characters in the Hello World string
  5. Jules on Python Tutorial — Chapter 9

Copyright © 2025 IslandTropicaMan.

Powered by PressBook WordPress theme

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT