Skip to main content

Posts

Showing posts from July, 2022

Simplify Your Tax Calculations with GST Calculator 2024: The Ultimate Tool for Businesses and Individuals

Understand the concept of Java Classes and Objects with an example | Class | Object | Java

 In this article, We try to understand the concept of Java Classes and Objects with an example. The key content of this article are- (i) What is class and Object (ii) Example of class and object (iii) Difference between Class and Object (i.a) Class In Java: A class is an entity that determines how an object will behave and what the object will contain. In other words, it is a blueprint or a set of instruction to build a specific type of object. It provides initial values for member variables and member functions or methods. (i.b) Object In Java: An object is nothing but a self-contained component that consists of methods and properties to make a data useful. It helps you to determines the behaviour of the class. i.e we say that " A class is a template for an object, and an object is an instance of a class ". That's why class is called as logical entity , where object is physical entity .  So simply, a class does not allocate memory space when it is created, on other han...

SearchView in Android with RecyclerView | Toolbar | Kotlin

 The search functionality in android App is a very important feature of any list page. In this article I make a simple android application to describe the SearchView integration in Android with RecyclerView | Toolbar | Kotlin. Follow the steps- Step 1 :  First create a blank project in android studio with simple empty activity. Step 2 :  Use the below code in colors.xml file <?xml version="1.0" encoding="utf-8"?> <resources> <color name= "purple_200" > #FFBB86FC </color> <color name= "purple_500" > #FF6200EE </color> <color name= "purple_700" > #FF3700B3 </color> <color name= "teal_200" > #FF03DAC5 </color> <color name= "teal_700" > #FF018786 </color> <color name= "black" > #FF000000 </color> <color name= "white" > #FFFFFFFF </color> </resources> Step ...

Popular posts from this blog