Monday, June 12, 2017

Android Tutorial-How to Make Press Once Again to Exit ( Double Press Back ) in Android || কিভাবে দবল ক্লিকের মাধ্যমে এন্ড্র্যেড এ্যাপ বন্ধ করা যায়












Sunday, February 19, 2017

JButtonInSwing


জাভা swing ব্যবহার করে Button তৈরি করা যায় , যেখানে Button এ image Icon থাকবে

Swing is a GUI widget toolkit for Java. It is part of Oracle's Java Foundation Classes (JFC) – an API for providing a graphical user interface (GUI) for Java programs.

বিস্তারিত জানতে

wikipedia



এবার দেখবো কিভাবে button এ Tool Tips ব্যবহার করা যায়।

Tool Tips ব্যবহার করার জন্য নিচের সিনট্যাক্স টি লিখতে হবে

button_object.setToolTipText("String_here");


নিচের কোডটি লক্ষ্য করি



Friday, January 27, 2017

Sunday, January 15, 2017

inheritance in java

Inheritance in java is a mechanism in which one object acquires all the properties and behaviors of parent object.

The class which inherits the properties of other is known as subclass (derived class, child class) and the class whose properties are inherited is known as superclass (base class, parent class).


Inheritance represents the IS-A relationship, also known as parent-child relationship.


Example of Single Inheritance






Example of Multilevel Inheritance




Example of Heirarchical Inheritance




Polymorphism is the ability of an object to take on many forms. The most common use of polymorphism in OOP occurs when a parent class reference is used to refer to a child class object. Any Java object that can pass more than one IS-A test is considered to be polymorphic


There are two types of polymorphism in java: compile time polymorphism and runtime polymorphism. We can perform polymorphism in java by method overloading and method overriding.


Example of method overloading




Example of method overriding




Tuesday, January 10, 2017

Introduction to OOP :

What Is an Object?

An object is a software bundle of related state and behavior. Software objects are often used to model the real-world objects that you find in everyday life. 

What Is a Class?

A class is a blueprint or prototype from which objects are created. 

What Is Inheritance?

Inheritance provides a powerful and natural mechanism for organizing and structuring your software. 

What Is an Interface?

An interface is a contract between a class and the outside world. When a class implements an interface, it promises to provide the behavior published by that interface. 

What Is a Package?

A package is a namespace for organizing classes and interfaces in a logical manner. Placing your code into packages makes large software projects easier to manage.

Friday, December 30, 2016

android_apps_usb_real_device

About 1 week to run android studio 2.2 installed. But I could not install or did not know how to installed usb driver software.

now I am going to show you how to configure USB in android Studio.

1. First installed Android Studio in developer website.
2. Menu bar in android studio.
 
     tools -> sdk manager


then searching Usb google drive and mark this option and installed .

then
computer manager Device and configure .. C: drive user->android-> SDK where google driver software . installed properly
click here


install-spreadtrum-usb-driver-manually

vedio



Sunday, December 25, 2016

java class object

জাভা প্রোগ্রামিং - class and object

Monday, December 19, 2016

super keyword use in Java || জাভায় super কিওয়ার্ড ব্যবহার

জাভায় super কিওয়ার্ড ব্যবহার

java super কিওয়ার্ড  ব্যবহার করা হয় parent class এর object .

super কিওয়ার্ড ব্যবহার:
  1. super is used to refer immediate parent class instance variable.
  2. super() is used to invoke immediate parent class constructor.
  3. super is used to invoke immediate parent class method.


super is used to refer immediate parent class instance variable




super() is used to invoke immediate parent class constructor.



super is used to invoke immediate parent class method