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.
The RadioButton has two states: either checked or unchecked.
Once a RadioButton is checked, it cannot be unchecked. A RadioGroup is used to group together one or more RadioButton views, thereby allowing only one RadioButton to be checked within the RadioGroup.
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.