Android Snackbar : Snackbar in introduced in Android material design. Its work same as Toast widget to show short time Message or Feedback. But Snackbar also provide control on some action (Like Undo, Retry , Cancel etc). You can also change color of Snackbar and text. How to use Android Snackbar : Create new Android […]

Read More →

What is Fragments in Android : Android added fragment component in Android 3.0 (API level 11), primarily to support more dynamic and flexible. Fragments are usable portion of user interface in activity. In Activity we can use multiple fragments. Fragments have its own life cycle, but its directly affected by the Activity life cycle. One […]

Read More →

Android application does not completely controls its application life cycle, Its have own Linux process. Android device has limited memory so this process is created for the application when code is needed. Another component (Activity, Services and BroadCastReceiver) in application run and kill as per needed for application. That’s how Android system manages Android Application […]

Read More →

In some cases during development android application you need define global variable. What is Global Variable? Global Variable is hold the value until your application is not destroyed. So you can access those variable across the application. How to define Global variable in android? You can extend the base android.app.Application class and add member variables. […]

Read More →

Top of the technical interview question in IT companies.This question generally for 1-3 years experience java or android developers.  Here is question understating. String input = “Eyehunt website java”; String output = “java website Eyehunt”; There is several way to solve this problem : 1. Using split method and convert string into array then arrange […]

Read More →

This is most common questions asking now day to Android ,Java developers and technical interviews. There is several different ways to Reverse string. Here is example for better understanding : Original String : “Hello” Revers String : “olleH” Original String : “My name is rohit” Revers String : “tihor si eman yM” Take String form […]

Read More →

How to read text from console is very important to java developer know.Its very basic part of core java.

 

Read More →

9 key interfaces of collection framework:  1. Collection Interface : If we want to represent a group of individual objects as a single entity then we should go for collection. Collection interface defines the most common methods which are applicable for any collection object. For ex:- Add Object Remove Object Contains() In general collection interface […]

Read More →

List(I) Interface: Contains all the methods of collection and has its own method. List is the child interface of collection. If we want to represent a group of individual objects as a single entity where duplicates are allowed and insertion order preserved then we should go for list. Legacy classes (vector and stack):-Classes coming from […]

Read More →