Skip to content

Instantly share code, notes, and snippets.

View shahrukhamd's full-sized avatar
🙃
¯\_(ツ)_/¯

ShahRukh shahrukhamd

🙃
¯\_(ツ)_/¯
View GitHub Profile
@alexanderbazo
alexanderbazo / build.yml
Created December 6, 2019 16:07
Github Actions: Build and Release Android-APK
name: Minimal Android CI Workflow
on:
push:
branches:
- master
tags:
- 'v*'
jobs:

Interview Questions

Kotlin

Q1: What is a primary constructor in Kotlin? ☆☆

Answer: The primary constructor is part of the class header. Unlike Java, you don't need to declare a constructor in the body of the class. Here's an example: