Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sabbir45ali/kotlin_practice
I started my Android journey so i started learn Kotlin, And this is some my practice code which i need to strong m coding concept
https://github.com/sabbir45ali/kotlin_practice
android java kotlin
Last synced: about 9 hours ago
JSON representation
I started my Android journey so i started learn Kotlin, And this is some my practice code which i need to strong m coding concept
- Host: GitHub
- URL: https://github.com/sabbir45ali/kotlin_practice
- Owner: Sabbir45ali
- License: mit
- Created: 2024-07-09T11:03:56.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-09T11:09:42.000Z (4 months ago)
- Last Synced: 2024-07-09T14:11:13.024Z (4 months ago)
- Topics: android, java, kotlin
- Language: Kotlin
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kotlin_Practice
Welcome to my Kotlin Basics Practice repository! This repository contains simple Kotlin programs that I've written to practice and improve my Kotlin programming skills.
## Contents
- [Basic Calculator](src/main/kotlin/Calculator.kt): A simple calculator program using `if`-`else` statements to perform basic arithmetic operations.
- (Add descriptions of other files or programs as you add them)## Getting Started
To run any of the Kotlin programs in this repository, you'll need to have the Kotlin compiler installed on your machine. Follow the instructions below to get started:
### Prerequisites
- [Kotlin](https://kotlinlang.org/docs/tutorials/command-line.html)
### Running the Programs
1. Clone the repository:
```sh
git clone https://github.com/Sabbir45ali/Kotlin_practice.git
cd Kotlin_practice
```2. Navigate to the directory containing the Kotlin file you want to run.
3. Compile the Kotlin file:
```sh
kotlinc filename.kt -include-runtime -d filename.jar
```4. Run the compiled program:
```sh
java -jar filename.jar
```### Example
To run the basic calculator program:
```sh
cd src/main/kotlin
kotlinc Calculator.kt -include-runtime -d Calculator.jar
java -jar Calculator.jar