android gridiew example

1.1 Android Layout file – res/layout/main.xml

<?xml version="1.0" encoding="utf-8"?>
<GridView xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/gridView1"
    android:numColumns="auto_fit"
    android:gravity="center"
    android:columnWidth="50dp"
    android:stretchMode="columnWidth"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" >

</GridView>

1.2 Activityjava

package com.mkyong.android;

import android.app.Activity;
import android.os.Bundle;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.GridView;
import android.widget.TextView;
import android.widget.Toast;
import android.view.View;
import android.widget.AdapterView.OnItemClickListener;

public class GridViewActivity extends Activity {

	GridView gridView;

	static final String[] numbers = new String[] { 
			"A", "B", "C", "D", "E",
			"F", "G", "H", "I", "J",
			"K", "L", "M", "N", "O",
			"P", "Q", "R", "S", "T",
			"U", "V", "W", "X", "Y", "Z"};

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setContentView(R.layout.main);

		gridView = (GridView) findViewById(R.id.gridView1);

		ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
				android.R.layout.simple_list_item_1, numbers);

		gridView.setAdapter(adapter);

		gridView.setOnItemClickListener(new OnItemClickListener() {
			public void onItemClick(AdapterView<?> parent, View v,
				int position, long id) {
			   Toast.makeText(getApplicationContext(),
				((TextView) v).getText(), Toast.LENGTH_SHORT).show();
			}
		});

	}

}

Android Floating Action Button

āĻāĻ¨ā§āĻĄā§āϰ⧋āχāĻĄ āĻĢā§āϞ⧋āϟāĻŋāĻ‚ āĻ…ā§āϝāĻžāĻ•āĻļāύ āĻŦāĻžāϟāύ āĻšāϞ⧋ āĻ—ā§‹āϞāĻžāĻ•āĻžāϰ āĻŦāĻžāϟāύāĨ¤ āĻāϟāĻž āχāωāϜāĻžāϰ āχāĻ¨ā§āϟāĻžāϰāĻĢ⧇āϏ⧇āϰ āωāĻĒāϰ⧇ āĻ…āĻŦāĻ¸ā§āĻĨāĻžāύ āĻ•āϰ⧇ āĻāĻŦāĻ‚ āĻ•ā§āϞāĻŋāĻ• āĻ•āϰāϞ⧇ āϕ⧋āύ āχāϭ⧇āĻ¨ā§āϟ āϏāĻ‚āϘāϟāĻŋāϤ āĻ•āϰ⧇āĨ¤ āĻāĻ¨ā§āĻĄā§āϰ⧋āχāĻĄ āĻĢā§āϞ⧋āϟāĻŋāĻ‚ āĻ…ā§āϝāĻžāĻ•āĻļāύ āĻŦāĻžāϟāύ 3āϟāĻž āϏāĻžāχāϜ āĻ āĻĄāĻŋāĻĢāĻžāχāύ āĻ•āϰāĻž āϝāĻžā§Ÿ normal āĻāĻŦāĻ‚ mini āĻāĻŦāĻ‚ auto āĨ¤

Add Design Support Libray In app Level Gradle.build File . Then Go To Mainactivity.xml file

  <android.support.design.widget.FloatingActionButton
        android:id="@+id/fab"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="bottom|end"
        android:layout_margin="16dp"
        android:src="@android:drawable/ic_dialog_email"/>

Go To MainActivity.java And Add This Line

    FloatingActionButton fab = findViewById(R.id.fab);
        fab.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                // We are showing only toast message. However, you can do anything you need.
                Toast.makeText(getApplicationContext(), "You clicked Floating Action Button", Toast.LENGTH_SHORT).show();
            }
        });

Attributes of Android Floating Action Button Widget

Some of the popular attributes of android Floating Action Button widget are –

Sr.XML AttributesDescription
1app:fabCustomSizeSets the size of the button in pixels. If set to NO_CUSTOM_SIZE, custom size will not be used and size will be calculated based on the fabSize attribute.
2app:fabSizeSets the size of the button. There are 3 options available – normal, mini and auto. normal is larger than mini. auto will choose size based on the screen size.
3app:elevationSets elevation of the button.
4app:rippleColorSets ripple colour for button
5app:useCompatPaddingSets inner padding of button on platform lollipop and after.

IMPORTANT WEBSITE FOR DESIGNER AND DEVELOPER AND PROGRAMMER

Hacking Website For Fun

http://geektyper.com/shield/

https://geekprank.com/hacker/

Android Connect With Firebase

To create a new Firebase project, follow the below mentioned steps :-  

1. Open the URL – https://console.firebase.google.com

2. Then click on “Add Project”.

3. Enter the Firebase Project name and accept the conditions and then proceed with clicking on “Continue” button.

4. On the next Welcome screen, click on “Add Firebase to your Android app“. Enter the package name and click on Next.

5 . Firebase App, Register your app id and download the google-services.json file. Add it to your app folder

Specify Maven repository URL
  1. Add Google services classpath as below
  2. Add maven repository url
/ Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
            classpath 'com.android.tools.build:gradle:3.2.1'
          classpath 'com.google.gms:google-services:4.2.0'


        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
        maven {
            url "https://maven.google.com" // Google's Maven repository
        }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}
Add Firebase Dependencies

Add them in you app level(app folder) build.gradle, then Add app lavel Dependency

    implementation 'com.google.firebase:firebase-core:16.0.9'
    implementation 'com.google.firebase:firebase-firestore:19.0.0'
    implementation 'com.google.firebase:firebase-database:17.0.0'
    implementation  'com.google.firebase:firebase-auth:17.0.0'


Add Bottom Of File App Level Dependency

apply plugin: 'com.google.gms.google-services'


Now Sync And Install and unstall App

Latest Firebase Release Note Url

Android Tabhost Example

acrtivity_main.xml

<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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"
    tools:context=".MainActivity">
    <TabHost android:id="@+id/tabhost"
        android:layout_width="match_parent"
        android:layout_height="match_parent" >
        <LinearLayout
            android:orientation="vertical"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent">
            <TabWidget android:id="@android:id/tabs"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content" />
            <FrameLayout android:id="@android:id/tabcontent"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent">
                <LinearLayout
                    android:id="@+id/tab1"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent">
                    <Button
                        android:id="@+id/button"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:text="tab1" />
                </LinearLayout>
                <LinearLayout
                    android:id="@+id/tab2"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent">
                    <Button
                        android:id="@+id/button2"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:text="tab2" />
                </LinearLayout>
            </FrameLayout>
        </LinearLayout>
    </TabHost>
</android.support.constraint.ConstraintLayout>

MainActivity.java

package com.example.ppc.tabhost;

import android.app.TabActivity;
import android.support.v4.app.Fragment;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TabHost;
import android.widget.Toast;

public class MainActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        TabHost tabs = (TabHost) findViewById(R.id.tabhost);
        tabs.setup();
        TabHost.TabSpec spec = tabs.newTabSpec("tag1");
        spec.setContent(R.id.tab1);
        spec.setIndicator("First");
        tabs.addTab(spec);
        spec = tabs.newTabSpec("tag2");
        spec.setContent(R.id.tab2);
        spec.setIndicator("second");
        tabs.addTab(spec);

        tabs.setOnTabChangedListener(new TabHost.OnTabChangeListener() {
            @Override
            public void onTabChanged(String tabId) {
                if (tabId.equals("tag1")){
                   Toast.makeText(getApplicationContext(),"This IS Tab One",Toast.LENGTH_LONG).show();
                }

                else if (tabId.equals("tag2")){
                    Toast.makeText(getApplicationContext(),"This IS Tab Two",Toast.LENGTH_LONG).show();
                }
            }
        });

    }
}


Computer Science And Programing Book Download

Please See The Link Here Is All Programing Book Are Foldered

link

āϜāĻžāĻ­āĻž āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ āĻšā§āϝāĻžāĻ¨ā§āĻĄāϞāĻŋāĻ‚

āϜāĻžāĻ­āĻž āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ āĻšā§āϝāĻžāĻ¨ā§āĻĄāϞāĻŋāĻ‚ :
āĻĒā§āϰ⧋āĻ—ā§āϰāĻžāĻŽā§‡āϰ āĻ—āϤāĻŋāĻĒāĻĨ āύāĻŋāĻļā§āϚāĻŋāĻ¨ā§āϤ āϰāĻžāĻ–āϤ⧇ āϝ⧇ āĻĒāĻĻā§āϧāϤāĻŋ āĻ…āĻŦāϞāĻŽā§āĻŦāύ āĻ•āϰāĻž āĻšā§Ÿ āϤāĻžāχ āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ āĻšā§āϝāĻžāĻ¨ā§āĻĄāϞāĻŋāĻ‚āĨ¤āĻŽāύ⧇ āĻ•āϰ āϤ⧁āĻŽāĻŋ āĻŦāĻžāϏ⧇ āωāĻ āϞ⧇āχ āĻŦāĻŽāĻŋ āĻ•āϰ⧋ āĻāĻŦāĻ‚ āϝ⧇āĻ–āĻžāύ⧇ āĻŦāĻŽāĻŋ āĻ¸ā§āϟāĻžāĻ°ā§āϟ āĻšā§Ÿ āϤ⧁āĻŽāĻŋ āϏ⧇āĻ–āĻžāύ⧇āχ āĻŦāĻžāϏ āĻĨ⧇āϕ⧇ āύ⧇āĻŽā§‡ āĻ—āĻ¨ā§āϤāĻŦā§āϝ⧇ āϝāĻžāĻ“ā§ŸāĻž āĻŦāĻ¨ā§āϧ āĻ•āϰāĨ¤ āĻāĻ–āĻžāύ⧇ āϤ⧋āĻŽāĻžāϰ āĻŦāĻžāϏ⧇ āϊāĻ āĻŋāϞ⧇ āĻŦāĻŽāĻŋ āĻšāϤ⧇ āĻ“ āĻĒāĻžāϰ⧇ āφāĻŦāĻžāϰ āύāĻžāĻ“ āĻĒāĻžāϰ⧇ āĻāϟāĻž āϤ⧁āĻŽāĻŋ āϝ⧇āĻŽāύ āϜāĻžāύ⧋ āϤ⧇āĻŽāύāĻŋ āĻāĻ•āϜāύ āĻĒā§āϰ⧋āĻ—ā§āϰāĻžāĻŽāĻžāϰ āĻ“ āϜāĻžāύ⧇ āϝ⧇ āϤāĻžāϰ āϕ⧋āĻĨāĻžā§Ÿ āϕ⧋āĻĨāĻžā§Ÿ āĻĒā§āϰ⧋āĻ—ā§āϰāĻžāĻŽ āϏāĻŽāĻ¸ā§āϝāĻž āĻšāϤ⧇ āĻĒāĻžāϰ⧇āĨ¤ āϝ⧇āĻŽāύ āϤ⧁āĻŽāĻŋ āϜāĻžāύ⧋ āϝ⧇ āϝāĻĻāĻŋ āĻŦāĻžāϏ⧇ āĻ­āĻŋ⧜ āĻšā§Ÿ āĻ…āĻĨāĻŦāĻž āĻ…āύ⧇āĻ• āĻ—āϰāĻŽā§‡ āϤ⧋āĻŽāĻžāϰ āĻŦāĻŽāĻŋ āĻšāϤ⧇āĻ“ āĻĒāĻžāϰ⧇ āύāĻžāĻ“ āĻĒāĻžāϰ⧇ āĻ āĻŋāĻ• āϤ⧇āĻŽāύāĻŋ āωāĻĻāĻšāĻžāϰāĻŖ āĻ¸ā§āĻŦāϰ⧂āĻĒ āϤ⧁āĻŽāĻŋ āϕ⧋āύ⧋ āχāĻŽā§‡āϜ āĻĢāĻžāχāϞ āϤ⧋āĻŽāĻžāϰ āĻĒā§āϰ⧋āĻ—ā§āϰāĻžāĻŽā§‡ āĻ•āϞ āĻ•āϰāϞ⧇ āϝ⧇āϟāĻž āϕ⧋āύ⧋ āĻ“ā§Ÿā§‡āĻŦāϏāĻžāχāϟ āĻ āφāϛ⧇ āĻāĻ–āύ āϝāĻĻāĻŋ āϏ⧇āχ āϏāĻžāχāĻŸā§‡ āχāĻŽā§‡āϜ āĻĢāĻžāχāϞāϟāĻŋ āφāϗ⧇ āĻšāϤ⧇ āĻĄāĻŋāϞāĻŋāϟ āĻšā§Ÿā§‡ āĻĨāĻžāϕ⧇ āϤāĻ–āύ āϤ⧋āĻŽāĻžāϰ āĻĒā§āϰ⧋āĻ—ā§āϰāĻžāĻŽ āϐāϜāĻžā§ŸāĻ—āĻžā§Ÿ āĻĨ⧇āĻŽā§‡ āϝāĻžāĻŦ⧇ āĻ āĻŋāĻ• āϤ⧋āĻŽāĻžāϰ āĻŦāĻŽāĻŋāϰ āĻ…āĻŦāĻ¸ā§āĻĨāĻžāϰ āύ⧟ āĨ¤ āϤ⧁āĻŽāĻŋ āϝ⧇āĻŽāύ āϜāĻžāύ⧋ āĻŦāĻŽāĻŋ āĻšāϞ⧇āχ āφāĻŽāĻŋ āĻ…āĻ¨ā§āϝ āĻāĻ•āϟāĻž āĻŦāĻžāϏ āĻ āĻ…āĻĨāĻŦāĻž āĻšā§‡āρāĻŸā§‡āχ āĻ—āĻ¨ā§āϤāĻŦā§āϝ⧇ āϝāĻžāĻŦā§‹ āĻ…āĻ°ā§āĻĨāĻžā§Ž āϤ⧁āĻŽāĻŋ āĻĨāĻŋāĻŽ āĻĨāĻžāĻ•āĻŦ⧇ āύāĻž āϝ⧇āϕ⧋āύ⧋ āωāĻĒāĻžā§Ÿā§‡ āϤ⧋āĻŽāĻžāϰ āĻĒāϰāĻŦāĻ°ā§āϤ⧀ āĻ—āĻ¨ā§āϤāĻŦā§āϝ⧇ āϝāĻžāĻŦ⧇ āĻ āĻŋāĻ• āϤ⧇āĻŽāύāĻŋ āĻĒā§āϰ⧋āĻ—ā§āϰāĻžāĻŽāĻžāϰ āĻ•āĻŋāϛ⧁ āωāĻĒāĻžā§Ÿ āϤ⧈āϰ⧀ āĻ•āϰ⧇ āϰāĻžāϖ⧇ āϝ⧇āĻŽāύ āϤāĻžāϰ āϞ⧋āĻ•āĻžāϞ āĻ¸ā§āĻŸā§‹āϰ⧇ āĻāĻ•āϟāĻž āĻĢāĻžāχāϞ āϰāĻžāϖ⧇ āĻ…āĻĨāĻŦāĻž āĻ…āĻ¨ā§āϝ āϕ⧋āύ⧋ āĻŸā§‡āĻ•ā§āϏāϟ āĻļā§‹ āĻ•āϰ⧇ āĻāϟāĻžāχ āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ āĻšā§āϝāĻžāĻ¨ā§āĻĄāϞāĻŋāĻ‚āĨ¤

āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ āĻšā§āϝāĻžāĻ¨ā§āĻĄāϞāĻŋāĻ‚ āϕ⧀āĻ“ā§ŸāĻžāĻ°ā§āĻĄ āϏāĻŽā§‚āĻš :
try {} catch (){}finnaly {}āĻāĻŦāĻ‚ throw āĻšāϞ⧋ āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ āĻšā§āϝāĻžāĻ¨ā§āĻĄāϞāĻŋāĻ‚ āϕ⧀āĻ“ā§ŸāĻžāĻ°ā§āĻĄāĨ¤
āϝāĻ–āύ āϕ⧋āύ⧋ āĻĒā§āϰ⧋āĻ—ā§āϰāĻžāĻŽā§‡ āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ āĻĨāĻžāĻ•āĻžāϰ āϏāĻŽā§āĻ­āĻžāĻŦāύāĻž āĻĨāĻžāĻ•āĻŦ⧇ āϤāĻ–āύ āĻ“āχ āϕ⧋āĻĄāϗ⧁āϞ⧋ try { //āĻāĻ–āĻžāύ⧇ āϕ⧋āĻĄ āĻšāĻŦ⧇ } āĻŦā§āϞāϕ⧇āϰ āĻŽāĻ§ā§āϝ⧇ āĻšāĻŦ⧇ āĻāĻŦāĻ‚ āĻāĻ•āϟāĻŋ try āĻŦā§āϞāĻ• āĻ•āĻ–āύ⧋ āĻāĻ• āĻĨāĻžāĻ•āϤ⧇ āĻĒāĻžāϰ⧇āύāĻž āϤāĻžāϰ āϏāĻžāĻĨ⧇ āĻāĻ•āϟāĻŋ catch (// āĻāϰ āĻŽāĻ§ā§āϝ⧇ āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ āĻāϰ āϧāϰāĻŖ āĻāϰ āĻŦāĻ°ā§āĻŖāύāĻž āĻĨāĻžāĻ•āĻŦ⧇ ){} āĻ…āĻĨāĻŦāĻž finally {} āĻŦā§āϞāĻ• āĻĨāĻžāĻ•āĻŦ⧇āĨ¤ āĻāĻ•āϟāĻŋ try{} āĻŦā§āϞāĻ• āĻ āĻāĻ•āĻžāϧāĻŋāĻ• āϧāϰāϪ⧇āϰ āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ āĻĨāĻžāĻ•āϤ⧇ āĻĒāĻžāϰ⧇ āϝ⧇āĻŽāύ āĻāĻ•āϟāĻŋ try {}āĻŦā§āϞāϕ⧇āϰ āĻŽāĻ§ā§āϝ⧇ āĻ¸ā§āĻŸā§āϰāĻŋāĻ‚āĻāĻŦāĻ‚ āĻĄāĻžāϟāĻžāĻŦ⧇āϏ āĻ•āĻžāύ⧇āĻ•āĻļāύ āϕ⧋āĻĄ āĻĨāĻžāĻ•āϤ⧇ āĻĒāĻžāϰ⧇ āχāωāϜāĻžāϰ āĻšā§ŸāϤ⧋āĻŦāĻž āĻ¸ā§āĻŸā§āϰāĻŋāĻ‚ āĻāϰ āϜāĻžā§ŸāĻ—āĻžā§Ÿ āύāĻŽā§āĻŦāϰ āĻĻāĻŋāϞ⧋ āĻ…āĻĨāĻŦāĻž āĻĄāĻžāϟāĻžāĻŦ⧇āϏ āĻ•āĻžāύ⧇āĻ•ā§āϟ āĻšāϞ⧋āύāĻž āϏ⧇āĻ•ā§āώ⧇āĻ¤ā§āϰ⧇ āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ āϗ⧁āϞ⧋ āĻĒāĻ°ā§āϝāĻžā§ŸāĻ•ā§āϰāĻŽā§‡ āϏāĻžāϜāĻžāϤ⧇ āĻĒāĻžāϰ⧋āĨ¤ āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ āĻāϰ āĻļ⧇āώ⧇ āĻœā§‡āύ⧇āϰāĻŋāĻ• āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ āĻ•ā§āϝāĻžāϚ āĻŦā§āϞāĻ• āϰāĻžāĻ–āϞ⧇ āĻ…āύ⧇āĻ• āϏ⧁āĻŦāĻŋāϧāĻž āϝ⧇āĻŽāύ āϤ⧁āĻŽāĻŋ āĻāĻ•āϟāĻž āĻĒā§āϰ⧋āĻ—ā§āϰāĻžāĻŽā§‡ āĻĻ⧁āχāϟāĻž āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ āϰāĻžāĻ–āϞ⧇ āĻŦāĻžāĻ¸ā§āϤāĻŦ⧇ āϤ⧋āĻŽāĻžāϰ āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ āĻāϰ āĻŦāĻžāχāϰ⧇āĻ“ āĻ•āĻŋāϛ⧁ āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ āĻĨāĻžāĻ•āϤ⧇ āĻĒāĻžāϰ⧇ āϝāĻž āϤ⧁āĻŽāĻŋ āϗ⧇āϜ āĻ•āϰāϤ⧇ āĻĒāĻžāϰāϛ⧋āύāĻž āϤāĻžāχ āϤ⧁āĻŽāĻŋ catch (Exception e ){} āĻŦ⧇āĻŦāĻšāĻžāϰ āĻ•āϰāĻŦ⧇āĨ¤ finally āĻšāϞ⧋ āĻŸā§āϰāĻžāχ āĻ…āĻĨāĻŦāĻž catch āϝ⧇āϕ⧋āύ⧋ āĻāĻ•āϟāĻžāϰ āĻ•āĻžāϜ āĻļ⧇āώ āĻšāϞ⧇ finally āĻŦā§āϞāĻ• āĻāϰ āĻ•āĻžāϜ āĻļ⧁āϰ⧁ āĻ•āϰāĻŦ⧇āĨ¤ āϝ⧇āĻŽāύ āĻĄāĻžāϟāĻžāĻŦ⧇āϏ āĻ āĻ•āĻžāύ⧇āĻ•ā§āϟ āĻāϰ āĻšā§‡āĻˇā§āϟāĻž āĻ•āϰāϞ⧇ āĻŸā§āϰāĻžāχ āĻŦā§āϞāĻ•āĻžāϰ āĻŽāĻ§ā§āϝ⧇ āĻāĻŦāĻ‚ finnaly āĻŦā§āϞāϕ⧇āϰ āĻŽāĻ§ā§āϝ⧇ āĻĄāĻžāϟāĻžāĻŦ⧇āϏ āĻ•āĻžāύ⧇āĻ•ā§āϟ null āĻ•āϰāĻžāϰ āĻšā§‡āĻˇā§āϟāĻž āĻ•āϰāϞ⧇ āϤāĻ–āύ āϕ⧋āĻĄ āĻĒā§āϰāĻĨāĻŽā§‡ try āĻŦā§āϞāĻ• āĻ āϏāĻžāĻ•āϏ⧇āϏ āύāĻž āĻšāϞ⧇ catch āĻŦā§āϞāĻ• āĻāĻ•ā§āϏ⧇āĻ•āĻŋāωāϟ āĻ•āϰāĻŦ⧇ āĻāĻŦāĻ‚ āϤāĻžāϰ āĻĒāϰ āĻĢāĻžāχāύāĻžāϞāĻŋ āĻŦā§āϞāĻ• āĻāϰ āĻ•āĻžāϜ āĻ•āϰāĻŦ⧇āĨ¤ āĻŽā§‹āϟ āĻ•āĻĨāĻž āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ āĻĨāĻžāϕ⧇ āĻŦāĻž āύāĻž āĻĨāĻžāĻ• finally āĻŦā§āϞāĻ• try catch āĻāϰ āĻĒāϰ āĻāĻ•ā§āϏ⧇āĻ•āĻŋāωāϟ āĻšāĻŦ⧇āχ āϝāĻĻāĻŋ āĻĢāĻžāχāύāĻžāϞāĻŋ āĻŦā§āϞāĻ• āĻ•āϞ āĻ•āϰ⧇ āĻĨāĻžāĻ•āĻŋāĨ¤ āĻāĻ•āϟāĻž āĻŸā§āϰāĻžāχ catch āĻŦā§āϞāϕ⧇āϰ āĻŽāĻ§ā§āϝ⧇ āφāϰ⧇āĻ•āϟāĻŋ try catch āĻŦā§āϞāĻ• āĻāĻŦāĻ‚ āĻāϰ āĻŽāĻ§ā§āϝ⧇ āφāϰ⧇āĻ•āϟāĻŋ try catch āĻŦā§āϞāĻ• āĻĒāĻ°ā§āϝāĻžā§ŸāĻ•ā§āϰāĻŽā§‡ āĻĨāĻžāĻ•āϤ⧇ āĻĒāĻžāϰ⧇ āϝāĻžāϕ⧇ āύ⧇āĻ¸ā§āĻŸā§‡āĻĄ try catc āĻŦāϞāĻž āĻšā§ŸāĨ¤ āĻ…āύ⧇āĻ• āϏāĻŽā§Ÿ āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ throw āĻ•āϰāĻž āĻšā§Ÿ āϝ⧇āĻŽāύ āϤ⧁āĻŽāĻŋ āϚāĻžāĻšā§āĻ› āĻ•āĻžāϰ⧋ āĻŦ⧟āϏ ā§§ā§Ļ āĻāϰ āĻ•āĻŽ āĻšāϞ⧇ āĻ…āĻĨāĻŦāĻž āĻ“āϜāύ ⧍ā§Ļ āϕ⧇āϜāĻŋ āĻāϰ āĻ•āĻŽ āĻšāϞ⧇ āĻāĻ•āϟāĻŋ āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ āĻšāĻŦ⧇ āϤāĻ–āύ āϤ⧁āĻŽāĻŋ āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ throw āĻ•āϰāϤ⧇ āĻĒāĻžāϰ⧋āĨ¤ āϝ⧇āĻŽāύ if (age <ā§§ā§Ļ){
throw new ArithmeticException(” āĻ•āĻžāĻ¸ā§āϟāĻŽ āĻŽā§‡āϏ⧇āϜ “)//āĻāĻ•ā§āϏ⧇āĻĒāĻļāύ āύ⧇āĻŽ
}

throw āĻ•āϰāϤ⧇ āĻĒāĻžāϰ⧋āĨ¤

āϜāĻžāĻ­āĻž Constructors (āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ)

Constructors (āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ) āĻ•āĻŋ ?
Constructors (āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ) āĻāĻ•āϟāĻž āĻŦā§āϞāĻ• āϕ⧋āĻĄ āϝāĻž āĻĻ⧇āĻ–āϤ⧇ āĻ…āύ⧇āĻ•āϟāĻž āϏāĻžāϧāĻžāϰāĻŖ āϕ⧋āĻĄāĻŦā§āϞāϕ⧇āϰ āĻŽāϤ⧋ āϤāĻŦ⧇ āĻāϰ āύāĻžāĻŽāĻ•āϰāĻŖ āĻ•āϰāĻž āĻšā§Ÿ āĻ•ā§āϞāĻžāϏ⧇āϰ āύāĻžāĻŽā§‡āĨ¤ āϝāĻĻāĻŋ āĻ•ā§āϞāĻžāϏ āĻāϰ āύāĻžāĻŽ āĻŸā§‡āĻ¸ā§āϟ āĻšā§Ÿ āϤāĻŦ⧇ āĻ•āĻ¨ā§āϏāĻŸā§āĻ°ā§āϰāĻžāĻ•ā§āϟāϰ āĻāϰ āύāĻžāĻŽ āĻšāĻŦ⧇ āĻŸā§‡āĻ¸ā§āϟāĨ¤ āωāϧāĻžāϰāĻŖāĻ¸ā§āĻŦāϰ⧂āĻĒ Test (){}.āĻ•āĻ¨ā§āϏāĻŸā§āĻ°ā§āϰāĻžāĻ•ā§āϟāϰ āĻāϰ āĻ•āĻžāϜ āĻ…āĻŦāĻœā§‡āĻ•ā§āϟ āϤ⧈āϰāĻŋāϰ āĻĒāϰāĻĒāϰāχ āĻļ⧁āϰ⧁ āĻšā§Ÿā§‡ āϝāĻžā§Ÿ.āϝāĻĻāĻŋ āφāĻŽāϰāĻž āϕ⧋āύ⧋ āĻ•āĻ¨ā§āϏāĻŸā§āĻ°ā§āϰāĻžāĻ•ā§āϟāϰ āĻĄāĻŋāĻĢāĻžāχāύ āύāĻž āĻ•āϰāĻŋ āϤāĻžāĻšāϞ⧇ āĻ•āĻŽā§āĻĒāĻžāχāϞāĻžāϰ āϕ⧋āĻĄ āύāĻŋāĻœā§‡ āĻĨ⧇āϕ⧇āχ āĻāĻ•āϟāĻŋ āĻ–āĻžāϞāĻŋ āĻ•āĻ¨ā§āϏāĻŸā§āĻ°ā§āϰāĻžāĻ•ā§āϟāϰ āϝ⧋āĻ— āĻ•āϰ⧇ āϤāĻžāϰāĻĒāϰ⧇ āĻĒā§āϰ⧋āĻ—ā§āϰāĻžāĻŽ āĻāϰ āĻ•āĻžāϜ āĻļ⧁āϰ⧁ āĻ•āϰ⧇āĨ¤āĻ•āĻžāϰāĻŖ āϕ⧋āύ⧋ āĻ•ā§āϞāĻžāϏ āφāĻŽāϰāĻž āϝāĻ–āύ āĻ•āĻŽā§āĻĒāĻžāχāϞāĻžāϰ āĻāϰ āύāĻŋāĻ•āϟ āĻĒāĻžāĻ āĻžā§Ÿ āϤāĻ–āύ āĻ•āĻŽā§āĻĒāĻžāχāϞāĻžāϰ āĻĒā§āϰāĻĨāĻŽā§‡ āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ āĻŽā§‡āĻĨāĻĄ āĻšā§‡āĻ• āĻ•āϰ⧇āĨ¤ āϝāĻĻāĻŋ āĻ•āύāĻ¸ā§āĻŸā§āϰāĻžāĻ•ā§āϟāϰ āĻŽā§‡āĻĨāĻĄ āχāωāϜāĻžāϰ āĻĻā§āĻŦāĻžāϰāĻž āĻŦāĻžāύāĻžāύ⧋ āĻĨāĻžāϕ⧇ āϤāĻ–āύ āĻ•āĻŽā§āĻĒāĻžāχāϞāĻžāϰ āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ āĻŦāĻžāύāĻžāύ⧋ āĻ›āĻžā§œāĻžāχ āϕ⧋āĻĄ āϰāĻžāύ āĻ•āϰāĻžāϰ āĻšā§‡āĻˇā§āϟāĻž āĻ•āϰ⧇āĨ¤ āϝāĻĻāĻŋ āĻ•āύāĻ¸ā§āĻŸā§āϰāĻžāĻ•ā§āϟāϰ āĻŽā§‡āĻĨāĻĄ āχāωāϜāĻžāϰ āĻĻā§āĻŦāĻžāϰāĻž āĻŦāĻžāύāĻžāύ⧋ āύāĻž āĻĨāĻžāϕ⧇ āϤāĻ–āύ āĻ•āĻŽā§āĻĒāĻžāχāϞāĻžāϰ āĻĄāĻŋāĻĢāĻžāωāĻ˛ā§āϟ āĻ­āĻžāĻŦ⧇ āĻāĻ•āϟāĻŋ āĻāĻŽā§āĻĒāϟāĻŋ āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ āĻŦāĻžāύāĻžāχ āĻāĻŦāĻ‚ āϤāĻžāϰāĻĒāϰ⧇ āϕ⧋āĻĄ āϰāĻžāύ āĻ•āϰāĻžāϰ āĻšā§‡āĻˇā§āϟāĻž āĻ•āϰ⧇ āϝ⧇āĻŽāύ āφāĻŽāϰāĻž āϝāĻĻāĻŋ āĻāĻ­āĻžāĻŦ⧇ āĻ•ā§āϞāĻžāϏ āĻĄāĻŋāĻĢāĻžāχāύ āĻ•āϰāĻŋ āĻāĻŦāĻ‚ āĻ…āĻŦāĻœā§‡āĻ•ā§āϟ āϤ⧈āϰ⧀ āĻ•āϰāĻŋ āϤāĻžāĻšāϞ⧇ āĻ•āĻŽā§āĻĒāĻžāχāϞāĻžāϰ āύāĻŋāĻšā§‡āϰ āĻŽāϤ⧋ āĻ•āϰ⧇ āϕ⧋āĻĄ āϰāĻžāύ āĻ•āϰāĻŦ⧇āĨ¤
āĻāϟāĻž āĻšāϞ⧋ āφāĻŽāĻžāĻĻ⧇āϰ āϕ⧋āĻĄ
class Test {}
Test obj = new Test ();
āφāϰ āĻ•āĻŽā§āĻĒāĻžāχāϞāĻžāϰ āϰāĻžāύ āĻ•āϰāĻŦ⧇ āĻāϰāĻ•āĻŽ

class Test {
// āĻĄāĻŋāĻĢāĻ˛ā§āϟ āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ āϝāĻž āĻ•āĻŽā§āĻĒāĻžāχāϞāĻžāϰ āύāĻŋāĻœā§‡ āϤ⧈āϰ⧀ āĻ•āϰ⧇ āϰāĻžāύ āĻ•āϰ⧇āϛ⧇āĨ¤ āĻ•āĻŽā§āĻĒāĻžāχāϞāĻžāϰ āϤāĻ–āύāχ āύāĻŋāĻœā§‡ āĻĨ⧇āϕ⧇ āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ āϤ⧈āϰ⧀ āĻ•āϰāĻŦ⧇ āϝāĻ–āύ āφāĻŽāϰāĻž āϕ⧋āύ⧋ āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ āĻ•ā§āϞāĻžāϏ⧇āϰ āĻŽāĻ§ā§āϝ⧇ āĻ•āϞ āύāĻž āĻ•āϰāĻŋ.
Test (){
}
}
Test obj = new Test ();

Constructors (āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ) āϕ⧇āύ āϤ⧈āϰ⧀ āĻ•āϰāϤ⧇ āĻšā§Ÿ ?
āĻŽā§‚āϞāϤ āĻ…āĻŦāĻœā§‡āĻ•ā§āϟ āϤ⧈āϰāĻŋāϰ āϏāĻžāĻĨ⧇ āϏāĻžāĻĨ⧇ āĻĄāĻŋāĻĢāĻ˛ā§āϟ āĻ•āĻŋāϛ⧁ āĻ•āĻžāĻ°ā§āϝ āϏāĻŽā§āĻĒāĻžāĻĻāύ⧇āϰ āϜāĻ¨ā§āϝ Constructors (āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ) āϤ⧈āϰ⧀ āĻ•āϰāĻž āĻšā§ŸāĨ¤ āϝ⧇āĻŽāύ āϕ⧋āύ⧋ āĻŽā§‡āϏ⧇āϜ āĻļā§‹ āĻ•āϰāĻž āĻ…āĻĨāĻŦāĻž āĻĄāĻŋāĻĢāĻ˛ā§āϟ āĻ•āĻŋāϛ⧁ āĻ­ā§āϝāĻžāϰāĻŋā§Ÿā§‡āĻŦāϞ āĻāϰ āĻ­ā§āϝāĻžāϞ⧁ āϏ⧇āϟ āĻ•āϰāĻž āĻ…āĻĨāĻŦāĻž āĻĄāĻžāϟāĻžāĻŦ⧇āϏ⧇āϰ āĻ•āύāĻĢāĻŋāĻ—āĻžāϰ āϏ⧇āϟ āĻ•āϰāĻž āĻ…āĻĨāĻŦāĻž āĻ…āĻŦāĻœā§‡āĻ•ā§āϟ āϤ⧈āϰāĻŋāϰ āϏāĻžāĻĨ⧇ āϏāĻžāĻĨ⧇ āĻĄāĻžāϟāĻžāĻŦ⧇āϏ āĻ•āĻžāύ⧇āĻ•āĻļāύ āϤ⧈āϰ⧀ āĻ•āϰāĻž āχāĻ¤ā§āϝāĻžāĻĻāĻŋāĨ¤

Constructors (āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ) āĻāϰ āĻĒā§āϰāĻ•āĻžāϰāϭ⧇āĻĻāσ
ā§§.āĻĄāĻŋāĻĢāĻ˛ā§āϟ Constructors (āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ) . (āϝ⧇āϟāĻž āĻ•āĻŽā§āĻĒāĻžāχāϞāĻžāϰ āύāĻŋāĻœā§‡āχ āϤ⧈āϰ⧀ āĻ•āϰ⧇ ) .
⧍. āύ⧋ āφāĻ°ā§āϗ⧁āĻŽā§‡āĻ¨ā§āϟ NO ARGUMENT (āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ) . (āφāĻŽāϰāĻž āĻ•ā§āϞāĻžāϏ āĻ āϝāĻĻāĻŋ āϕ⧋āύ Constructors āĻ•āϞ āĻ•āϰāĻŋ āĻāĻŦāĻ‚ āϤāĻžāϰ āϝāĻĻāĻŋ āϕ⧋āύ⧋ āφāĻ°ā§āϗ⧁āĻŽā§‡āĻ¨ā§āϟ āύāĻž āĻĨāĻžāϕ⧇ āĻ…āĻ°ā§āĻĨāĻžā§Ž empty āĻĒ⧇āϰāĻžāĻŽāĻŋāϟāĻžāϰ āĻāϰ āĻĢāĻžāĻ™ā§āĻ•āĻļāύ āĻāϰ āĻŽāϤ (āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ) āĻšā§Ÿ āϤāĻ–āύ āϤāĻžāϕ⧇ āύ⧋ āφāĻ°ā§āϗ⧁āĻŽā§‡āĻ¨ā§āϟ Constructors (āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ) āĻŦāϞ⧇.āϝ⧇āĻŽāύ public TEST (){} .

ā§Š. Parameterized constructor āĻŦāĻž āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāϟāĻžāϰ āϝ⧁āĻ•ā§āϤ āĻ•āύāĻ¸ā§āĻŸā§āϰāĻžāĻ•ā§āϟāϰāĨ¤ (āφāĻŽāϰāĻž āĻ•ā§āϞāĻžāϏ āĻ āϝāĻĻāĻŋ āϕ⧋āύ Constructors āĻ•āϞ āĻ•āϰāĻŋ āĻāĻŦāĻ‚ āϤāĻžāϰ āϝāĻĻāĻŋ āϕ⧋āύ⧋ āφāĻ°ā§āϗ⧁āĻŽā§‡āĻ¨ā§āϟ āĻĨāĻžāϕ⧇ āϤāĻ–āύ āϤāĻžāϕ⧇ Parameterized constructor āĻŦāĻž āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāϟāĻžāϰ āϝ⧁āĻ•ā§āϤ āĻ•āύāĻ¸ā§āĻŸā§āϰāĻžāĻ•ā§āϟāϰ āĻŦāϞ⧇āĨ¤ āϝ⧇āĻŽāύ public TEST (int name ){}.

Constructor (āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ) Chaining āĻ•āĻŋ ?

Constructor (āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ) Chaining āĻ•āĻŋ ?
āĻāĻ•āϟāĻž āĻ•ā§āϞāĻžāϏ⧇ āĻāϕ⧇āϰ āĻ…āϧāĻŋāĻ• Constructor (āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ) āĻĨāĻžāĻ•āϤ⧇ āĻĒāĻžāϰ⧇ āĻ…āĻĨāĻŦāĻž āφāĻŽāϰāĻž āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāϟāĻžāϰ āĻāϰ āϏāĻ‚āĻ–ā§āϝāĻž āĻ­āĻŋāĻ¨ā§āύ āĻ•āϰ⧇ āĻ…āĻĨāĻŦāĻž āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāϟāĻžāϰ āĻāĻŦāĻ‚ āύāύ āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāϟāĻžāϰ āϏāĻš āϤāĻŋāύāϟāĻŋ Constructor (āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ) āĻŦāĻžāύāĻŋā§Ÿā§‡ āϰāĻžāĻ–āϤ⧇ āĻĒāĻžāϰāĻŋāĨ¤ āϝāĻ–āύ āĻāĻ•āχ āĻ•ā§āϞāĻžāϏ⧇āϰ āĻāĻ•āϟāĻŋ Constructor (āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ) āĻ“āχ āĻ•ā§āϞāĻžāϏ⧇āϰ āφāϰ⧇āĻ•āϟāĻŋ Constructor (āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ) āĻ•āϞ āĻ•āϰ⧇ āϤāĻ–āύ āϤāĻžāϕ⧇ Constructor (āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ) Chaining āĻŦāϞ⧇āĨ¤

āωāĻĒāϰ⧇āϰ āϕ⧋āĻĄāϟāĻŋ āϞāĻ•ā§āĻˇā§āϝ āĻ•āϰāϞ⧇ āφāĻŽāϰāĻž āϝ⧇ āĻŦā§āϝāĻžāĻ–ā§āϝāĻž āĻĒāĻžāχ āϤāĻž āĻšāϞ⧋
this (“begginerbook .com “); āĻāĻ–āĻžāύ⧇ this āĻāϟāĻž āĻāχ āĻ•ā§āϞāĻžāϏ āϕ⧇ āĻŦā§‹āĻāĻžā§Ÿ āϏ⧁āϤāϰāĻžāĻ‚ āϝāĻĻāĻŋ āĻāχ āĻ•ā§āϞāĻžāϏ⧇āϰ āύāĻžāĻŽ Myclass āĻšā§Ÿ āϤāĻŦ⧇ this (“begginerbook .com “); āĻŽāĻžāύ⧇
Myclass (“begginerbook .com “); āĻ…āĻ°ā§āĻĨāĻžā§Ž āĻāϟāĻž āĻāχ āĻ•ā§āϞāĻžāϏ⧇āϰ āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ āĻ•āϞ āĻ•āϰ⧇āϛ⧇āĨ¤

Super() āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ

āϝāĻ–āύ āφāĻŽāϰāĻž āϕ⧋āύ āĻ•ā§āϞāĻžāϏ āϕ⧇ āĻāĻ•ā§āϏāĻŸā§‡āύāĻĄāϏ āĻ•āϰ⧇ āĻ•āĻžāϜ āĻ•āϰāĻŋ āϤāĻ–āύ āĻĒā§āϝāĻžāϰ⧇āĻ¨ā§āϟ āĻ•ā§āϞāĻžāϏ⧇āϰ āϏāĻ•āϞ āĻŽā§‡āĻĨāĻĄ āĻ“ āĻĒā§āϰāĻĒāĻžāĻ°ā§āϟāĻŋ āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻ•āϰāϤ⧇ āĻĒāĻžāϰāĻŋ āĻāϟāĻž āφāϗ⧇āχ āϜāĻžāύāĻŋāĨ¤ āĻŽāύ⧇ āĻ•āϰ Student class āϕ⧇ āĻŦā§āϰāĻŋāϞāĻŋ⧟āĻžāĻ¨ā§āϟ āĻ•ā§āϞāĻžāϏ āĻāĻ•ā§āϏāĻŸā§‡āύāĻĄāϏ āĻ•āϰ⧇āϛ⧇āĨ¤ āĻŦā§āϰāĻŋāϞāĻŋ⧟āĻžāĻ¨ā§āϟ āĻ•ā§āϞāĻžāϏ āĻ āĻāĻ•āϟāĻž āĻ•āύāĻ¸ā§āĻŸā§āϰāĻžāĻ•ā§āϟāϰ āφāϛ⧇ āĻāĻŦāĻ‚ Student āĻ•ā§āϞāĻžāϏ āĻ āĻāĻ•āϟāĻž āĻāĻ•āχ āϧāϰāϪ⧇āϰ āĻ•āύāĻ¸ā§āĻŸā§āϰāĻžāĻ•ā§āϟāϰ āφāϛ⧇āĨ¤ āϝāĻĻāĻŋ āĻŦā§āϰāĻŋāϞāĻŋ⧟āĻžāĻ¨ā§āϟ āĻ•ā§āϞāĻžāϏ āĻ āĻ•āύāĻ¸ā§āĻŸā§āϰāĻžāĻ•ā§āϟāϰ āύāĻž āĻĨāĻžāĻ•āϤ⧋ āĻāĻŦāĻ‚ āφāĻŽāϰāĻž āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ āĻ•āϞ āĻ•āϰāϤāĻžāĻŽ āϤāĻ–āύ āĻĒā§āϝāĻžāϰ⧇āĻ¨ā§āϟ āĻ•ā§āϞāĻžāϏ āĻŦāĻž Student āĻ•ā§āϞāĻžāϏ āĻāϰ āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ āĻ•āϞ āĻšāϤ⧋āĨ¤ āφāϰ āϝāĻĻāĻŋ āĻŦā§āϰāĻŋāϞāĻŋ⧟āĻžāĻ¨ā§āϟ āĻ•ā§āϞāĻžāϏ āĻ āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ āĻ•āϞ āĻĨāĻžāϕ⧇ āϤāĻžāĻšāϞ⧇ āĻŦā§āϰāĻŋāϞāĻŋ⧟āĻžāĻ¨ā§āϟ āĻ•ā§āϞāĻžāϏ āĻ āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ āĻ•āϞ āĻšāĻŦ⧇āĨ¤ āϝāĻĻāĻŋ āĻāĻŽāύ āĻšā§Ÿ āĻĒā§āϝāĻžāϰ⧇āĻ¨ā§āϟ āĻāĻŦāĻ‚ āϚāĻžāχāĻ˛ā§āĻĄ āĻĻ⧁āχ āĻ•ā§āϞāĻžāϏ āĻāχ āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ āĻ•āϞ āφāϛ⧇ āĻāĻŽāϤāĻžāĻŦāĻ¸ā§āĻĨāĻžā§Ÿ āφāĻŽāϰāĻž āϝāĻĻāĻŋ āϚāĻžāχāĻ˛ā§āĻĄ āĻ•ā§āϞāĻžāϏ āĻāϰ āĻ…āĻŦāĻœā§‡āĻ•ā§āϟ āϤ⧈āϰ⧀ āĻ•āϰāĻŋ āϤāĻžāĻšāϞ⧇ āĻĄāĻŋāĻĢāĻ˛ā§āϟ āĻ­āĻžāĻŦ⧇ āϚāĻžāχāĻ˛ā§āĻĄ āĻ•ā§āϞāĻžāϏ āĻāϰ āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ āĻ•āϞ āĻšāĻŦ⧇ āĻ•āĻŋāĻ¨ā§āϤ⧁ āφāĻŽāϰāĻž āϝāĻĻāĻŋ āϚāĻžāχ āĻĒā§āϝāĻžāϰ⧇āĻ¨ā§āϟ āĻŦāĻž āĻŦ⧇āϜ āĻ•ā§āϞāĻžāϏ⧇āϰ āĻ•āĻ¨ā§āϏāĻŸā§āϰāĻžāĻ•ā§āϟāϰ āĻ•āϞ āĻšāĻŦ⧇ āϤāĻ–āύ super () āϕ⧀āĻ“ā§ŸāĻžāĻ°ā§āĻĄ āĻŦā§āϝāĻŦāĻšāĻžāϰ āĻšāĻŦ⧇āĨ¤

Share a folder, drive, or printer on the network in Windows

Verify that the sharing component is installed

To verify that File and Printer Sharing is on your computer (typically installed by default):

  1. Navigate to the Network and Sharing Center.Note:For help navigating, see Get around in Windows.
  2. Click Change adapter settings.
  3. Right-click the local connection icon and select Properties.
  4. In the area below “This connection uses the following items:”, look for File and Printer Sharing for Microsoft Networks.
    • If this component is not available:
      1. Click Install. Select Service, and then click Add….
      2. Select File and Printer Sharing for Microsoft Networks, and then click OK.
      3. Click Close. If a dialog window appears telling you to restart your computer, do so.
    • If the component is available, make sure it is checked.

Back to top

Share a folder, drive, or printer

Once File and Printer Sharing is installed, to share a folder or drive:

  1. Right-click the folder or drive you want to share.
  2. Click Properties. From the Sharing tab, click Advanced Sharing.
  3. Click Share this folder.
  4. In the appropriate fields, type the name of the share (as it appears to other computers), the maximum number of simultaneous users, and any comments that should appear beside it.
  5. If you would like to grant access to particular groups or individuals, click Permissions to add the appropriate groups or usernames.
  6. If you are using NTFS, check the permissions in the Security tab to ensure that they are properly set to allow access to the share. Because Security settings override Share permissions, it is possible for people on the Permissions list to be denied access to the share because they either are not specified or are denied specifically in the Security list.Note:FAT32 does not provide the same level of security as NTFS; if you’re using FAT32, you will not see the Security tab.
  7. Click OK.

To share a printer:

  1. From the Control Panel, open Devices and Printers.
  2. Right-click the printer you want to share. Click Printer Properties, and then select the Sharing tab.
  3. Check Share this Printer. Under Share name, select a shared name to identify the printer. Click OK.

Back to top

Access a shared folder or printer

To find and access a shared folder or printer:

  1. Search for Network, and click to open it.
  2. Select Search Active Directory at the top of the window; you may need to first select the Network tab on the upper left.
  3. From the drop-down menu next to “Find:”, select either Printers or Shared Folders.
  4. You can now enter search terms in the appropriate fields to modify the search; to start the search, click Find Now. To search for shared printers and folders that match any criteria, click Find Now without entering any search terms.
  5. You will see a list of shared printers and folders that are available on the network. Double-click the item to which you want to connect.

If you know the exact name of the computer and the share, or the exact name of the printer, you can enter it directly:

  1. Navigate to a search field. Enter two backslashes, the name of the computer, another backslash, and then the name of the share or printer. For example, if the name of the computer is bl-iub-threepio.ads.iu.edu and the name of the share is r2d2, type: \\bl-iub-threepio.ads.iu.edu\r2d2
  2. Click OK.

If you need to repeatedly access a shared folder or network drive, you can map to it. Mapping creates a persistent link to the share, allowing you to double-click its icon in My Computer whenever you want access.

Android development Time Face Error And solution

  1. Android Resource File Linking Fail . Android R.id Red Color

Solution : From Build Menu Clean Project And Rebuild Project.

2. implementation 'com.android.support:appcompat-v7:28.0.0' Red Color error.
Solution : Add below Two line After above Line or Last Line.

implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'

3. Android Firebase Auth Gradle dependency Error
Solution : Android Firebase core And Other Libreary Version same like This Way
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.google.firebase:firebase-auth:16.0.1'
implementation 'com.google.firebase:firebase-database:16.0.1'


3 . BUILD TIME UNSPECTED PROCESS ERROR

Solution : go To Project level Garadle.build And Change Your Gradle Version To If Say Any Update Dont update.
classpath 'com.android.tools.build:gradle:3.3.2'

4. Multidex Problem

 Solution : Add Dependency In App level gradle.build And Enable Multidex True in Default Config In App.build.gradle file .
 defaultConfig { 
  //...
  multiDexEnabled true 
 }
compile 'com.android.support:multidex:1.0.1' 

5.

Solution: Added two lines in gradle.properties file:
 These two lines automatically resolved my dependency conflicts between google's files and third party dependencies. Here's the link to follow: https://developer.android.com/topic/libraries/support-library/androidx-overview#new-project

android.useAndroidX=true
android.enableJetifier=true

5

ERROR: Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
Suggestion: add ‘tools:replace=”android:appComponentFactory”‘ to element at AndroidManifest.xml:5:5-19:19 to override.

Solution : Goto gradle.properties file: And Write And Sync

android.useAndroidX=true
android.enableJetifier=true