Skip to content

Instantly share code, notes, and snippets.

View hellosagar's full-sized avatar
💭
Building Stuff

Sagar Khurana hellosagar

💭
Building Stuff
View GitHub Profile
@hellosagar
hellosagar / MainActivity.java
Created April 26, 2019 10:45
main activity
package com.wotinstitutes.greetings;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class MainActivity extends AppCompatActivity {
package com.wotinstitutes.greetings;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Toast;
public class Main2Activity extends AppCompatActivity {
@Override
@hellosagar
hellosagar / password.java
Created May 1, 2019 04:07
Password Authentication
import java.net.PasswordAuthentication;
public class password {
public static void main(String[] args) {
String pass="Sagar@123aaa";
boolean flag0=false;
boolean flag1=false;
boolean flag2=false;
boolean flag3=false;
int a=pass.length();
@hellosagar
hellosagar / password.java
Created May 1, 2019 04:57
PASSWORD AUTHENTICATION
import java.net.PasswordAuthentication;
public class password {
public static void main(String[] args) {
String pass="Sagar@123aaa";
boolean flag0=false;
boolean flag1=false;
boolean flag2=false;
boolean flag3=false;
int a=pass.length();
import java.net.PasswordAuthentication;
public class password {
public static void main(String[] args) {
String pass="Sagar@123aaa";
boolean flag0=false;
boolean flag1=false;
boolean flag2=false;
boolean flag3=false;
int a=pass.length();