Skip to content

IslandTropicaMan

Software, Pc Game and Programming Languages

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

Here is how to loop array in Kotlin

Posted on December 15, 2022December 15, 2022 By IslandT

The below Kotlin program will loop and print out each item in the books’ array. The above program will display the below outcome:-

Kotlin

Here is the Powershell command used to multiply numbers

Posted on December 15, 2022 By IslandT

The below Powershell command will multiply three numbers and then add them up together. First, let’s create the function which will do the multiplication job. Next, try the above function out in your own Powershell console. Which will produce the following outcomes:- The process step of the function will display each step of the multiplication…

Read More “Here is the Powershell command used to multiply numbers” »

Power Shell

Here is how to create a Generic function in TypeScript

Posted on December 15, 2022December 15, 2022 By IslandT

This article will show you an example to create a generic function in TypeScript. A generic function is a function that contains a generic syntax to substitute a normal type name of a parameter which allows that parameter to have various types instead of only a single type. As you can see there are two…

Read More “Here is how to create a Generic function in TypeScript” »

Type-Script

How to use the filter in PowerShell?

Posted on December 14, 2022December 14, 2022 By IslandT

If you want to pass an element one by one through a pipeline to a function, you use the filter to do so. In order to use the filter in PowerShell you will need a temporary placeholder for each element through the pipeline like this, $_. The above command will pass each element one by…

Read More “How to use the filter in PowerShell?” »

Power Shell

How to create random number in Java?

Posted on December 14, 2022December 14, 2022 By IslandT

Below Java program example will produce a random number from 0 to 60 (0 to limit-1 range). The outcome from the above run is as follows:- The outcome will vary each time you run the program!

Java

How to create a GridLayout in Java Swing

Posted on December 14, 2022 By IslandT

Below is the Java swing example of creating a GridLayout’s container that contains buttons in it. The grid layout container will adjust the alignment of those buttons after either the value of the number of rows or the number of columns has been specified : GridLayout(int rows, int columns, int hgap, int vgap), hgap and…

Read More “How to create a GridLayout in Java Swing” »

Java, Swing

Posts navigation

Previous 1 2 3 … 15 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 powershell power shell 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

  • Python Example – Group telephone number using the re module
  • Java ArrayDeque example
  • Accept pipeline object from a function in Power Shell
  • The Mandatory property in PowerShell Parameter attribute
  • Here is how to create a collection object which extends ArrayList

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 © 2023 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