Skip to content

Instantly share code, notes, and snippets.

View mukulchauhan10's full-sized avatar

mukulchauhan10

  • No networking company ltd.
  • noida
View GitHub Profile
package com.example.explicit1
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.content.Intent
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
tools:context=".MainActivity">
package com.openwhatsapp
import android.content.Intent
import android.net.Uri
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.Toast
import androidx.core.text.isDigitsOnly
import kotlinx.android.synthetic.main.activity_main.*
@mukulchauhan10
mukulchauhan10 / app_.gitignore
Created February 1, 2020 03:30
WhatsApp Unsaved
/build
@mukulchauhan10
mukulchauhan10 / Main.java
Created November 19, 2019 11:26
Logic Loop
package complex;
import java.util.*;
public class Main {
public static void main(String[] kallu) {
Scanner sc = new Scanner(System.in);
System.out.print("Enter size of loop (between 1-9) = ");
int t=1;
while(t>0){
if(t>1){
System.out.print("Enter next = ");
@mukulchauhan10
mukulchauhan10 / Test.java
Created November 19, 2019 11:23
StackOverFlowException
package CollectionJava;
public class Test {
static int count;
public static void main(String[] args) {
m1();
}
static void m1() {
for(int loop=0; loop<1; loop++){