Skip to content

codingsansar.com

programming made easy

Menu
  • Home
  • HTML
  • Android Development
    • Android Projects
  • Java
  • Flutter
  • SQL Server
  • VB

Splash Screen timer for android :-

No Comments
| Android Development

Splash Sc

Read More »

Drawer demo

No Comments
| Android Projects

Drawer demo project in android Step1: Main Activity where you want to show MainActivity.xml :- Step 2: Design nav_header layout in layout section nav_header.xml: – Step3:- right click on res folder create a new Android resources directory menu and create a menu resource file nav_menu.xml:- Step4: MainActivity.java Depedency for Circle Image view

Read More »

How to use View Binding in Android

No Comments
| Android Development

View Binding Step1 : First go to build.gradle Module Place below code inside android{ }

Read More »

Java Abstraction

No Comments
| Java

Abstraction in java | what is Abstraction in java Abstraction is the process of hiding the implementation details and showing only functionality to the user. Another way , it shows only essential things to the user and hides the internal details, for example , sending sms where you type the text send the message . […]

Read More »

Java Polymorphism

No Comments
| Java

What is java polymorphism |Method Overloading | Method Overriding Polymorphism means many forms, and it occurs when we have many classes that are related to each other by inheritance. Inheritance let us inherit attributes and methods from another class. Polymorphism uses those methods to perform different tasks. this allows us to perform a single action […]

Read More »

JAVA Inheritance

No Comments
| Java

(What is subclass and superclass) It is possible to inherit attributes and methods from one class to another . we group the inheritance in to two categories. Subclass(Child) :- the class that inherits from another class. Superclass(Parent) :- the class being inherited from . To inherit from a class, use the extends keyword . In […]

Read More »

Naming convention in java

No Comments
| Java

Package :- It should be lowercase if multiple use dot like com.codingsansar Constant :- It should be in UPPERcase letter like RED, YELLOW if name contain multiple then seperated by _ like MAX_PRIORITY It may contain digits but not in first character exp – static final int MIN_AGE =18; Class :- Name should be start […]

Read More »

Java Encapsulation

No Comments
| Java

What is Encapsulation | What is java encapsulation The Meaning of Encapsulation is to make sure that sensitive data is hidden from the users, To achieve this, you must Declare class variables/attributes as private provide public get and set methods to access and updates the value of a private variable Private variables can only be […]

Read More »

JAVA Modifier

No Comments
| Java

Public Keyword is an access modifier , meaning that it is used to set the access level for classes , attributes, methods and constructors. We divide modifiers in to two groups Access Modifier Non Access Modifier Access Modifier :- Controls the access level Non Access Modifier :- Do not control Access level but provides functionality […]

Read More »

Java Method

No Comments
| Java

What is java method :- Java method is a block of code which only runs when it is called. Methods are used to perform certain actions, and they are also knowns fuctions Void indicates that method should not return value. you can use primitive data type (int, char) instead of void , and use the […]

Read More »

Posts pagination

Previous 1 2 3 … 6 Next

Recent Posts

Programming

  • Home
  • HTML
  • Android Development
    • Android Projects
  • Java
  • Flutter
  • SQL Server
  • VB

About Codsar

  • About us
  • Contact us
  • Disclaimer
  • Privacy Policy

codingsansar.com 2025 . Powered by WordPress