Skip to content

Instantly share code, notes, and snippets.

View abdullah-alialdin's full-sized avatar
🏠
Working from home

Abdullah Alialdin abdullah-alialdin

🏠
Working from home
View GitHub Profile
@abdullah-alialdin
abdullah-alialdin / MainActivity.java
Last active February 25, 2018 19:13
Android Development for Beginners : Court Counter - Setting up the Methods
package com.example.android.courtcounter;
/**
* IMPORTANT: Make sure you are using the correct package name.
* This example uses the package name:
* package com.example.android.courtcounter
* If you get an error when copying this code into Android studio, update it to match teh package name found
* in the project's AndroidManifest.xml file.
**/
@abdullah-alialdin
abdullah-alialdin / java-repeat-string.md
Created August 14, 2018 15:51 — forked from umidjons/java-repeat-string.md
Repeat string N times without loop in Java

Repeat string N times without loop in Java

package javaapplication1;
public class JavaApplication1 {
    /**
     * Repeat string <b>str</b> <b>times</b> time.
     * @param str string to repeat
     * @param times repeat str times time
     * @return generated string
 */