How to use single inheritance in java In this article we learn single inhetitance by using “has a relationship” ang “is a relationship”. Now, first of all we write the program by using “has a relationship ” in Single Inheritance…. Continue Reading →
Reverse means, a complete change of direction or action and place.
A loop is a sequence of instructions that are executed many times, each time a different set of data.
Vector is a dynamic array which can grow automatically according to the required need.
Nested if else use for check the multiple condition.
The switch case statement is useful when selecting some action from a number of alternatives. The value inside the test expression must be a int, char, short or byte. It can not be a long, double, float, string or any other other kind of object.The switch statement allows for any number of possible execution path.
The body of a switch statement is known as a switch block.
List views are views that enable you to display a long list of items. In Android, there are two types of list views: ListView and SpinnerView. Both are useful for displaying long lists of items. The following Try It Outs show them in action.
CheckBox is a type of two state button either unchecked or checked.
Checkboxes allow the user to select one or more options from a set. In android each checkbox is managed separately and you must register a click listener for each one. A special type of button that has two states: checked or unchecked. In android, there is a lot of usage of check box.
The TextView view is used to display text to the user and optionally allows them to edit it. This is the most basic view and one that you will frequently use when you develop Android applications. If you need to allow users to edit the text displayed, you should use the subclass of TextView, EditText.