Skip to content
#

mojidra

Here are 361 public repositories matching this topic...

Queue is an abstract data structure, somewhat similar to Stacks. Unlike stacks, a queue is open at both its ends. One end is always used to insert data (enqueue) and the other is used to remove data (dequeue). Queue follows First-In-First-Out methodology, i.e., the data item stored first will be accessed first.

  • Updated Apr 4, 2022
  • Java

Hash Table is a data structure which stores data in an associative manner. In a hash table, data is stored in an array format, where each data value has its own unique index value. Access of data becomes very fast if we know the index of the desired data. Thus, it becomes a data structure in which insertion and search operations are very fast ir…

  • Updated Apr 12, 2022
  • Java

Primitive Integer data types - includes byte, short, int, long. The byte data type is an 8-bit signed two's complement integer. The short data type is a 16-bit signed two's complement integer. the int data type is a 32-bit signed two's complement integer. The long data type is a 64-bit two's complement integer.

  • Updated Jan 17, 2023
  • Java

Scanner is a class in java.util package used for obtaining the input of the primitive types like int, double, etc. and strings. It is the easiest way to read input in a Java program, though not very efficient if you want an input method for scenarios where time is a constraint like in competitive programming.

  • Updated Jan 17, 2023
  • Java

In Dagger 2, the Application class is often used to define and provide shared components across the application. The Application class acts as a global context for your Android application and is created before any other component or object in your app.

  • Updated Jun 26, 2023
  • Java

Dependency injection (DI) is a technique widely used in programming and well suited to Android development. By following the principles of DI, you lay the groundwork for good app architecture. Implementing dependency injection provides you with the following advantages: 1. Reusability of code 2. Ease of refactoring 3. Ease of testing

  • Updated Jul 24, 2021
  • Kotlin

Dagger 2 walks through the dependency graph and generates code that is both easy to understand and trace, while also saving you from writing a large amount of boilerplate code you would normally need to write by hand to obtain references and pass them to other objects as dependencies.

  • Updated Jul 24, 2021
  • Kotlin

The if statement alone tells us that if a condition is true it will execute a block of statements and if the condition is false it won’t. But what if we want to do something else if the condition is false. Here comes the else statement. We can use the else statement with if statement to execute a block of code when the condition is false.

  • Updated Sep 19, 2022
  • Python

Improve this page

Add a description, image, and links to the mojidra topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mojidra topic, visit your repo's landing page and select "manage topics."

Learn more