Vaibhav Mojidra (VaibhavMojidra)

VaibhavMojidra

Geek Repo

Company:Deloitte USI

Location:Mumbai

Home Page:https://vaibhavmojidra.github.io/site/

Twitter:@VaibhavMojidra

Github PK Tool:Github PK Tool

Vaibhav Mojidra's repositories

Android-Java---Demo-2-Simple-Data-Binding

In Android, the Data Binding Library is a support library that allows you to bind UI components in your layouts to data sources in your app using a declarative format rather than programmatically.

Language:JavaLicense:MITStargazers:0Issues:1Issues:0

Java---Demo-Argument-Passing-Using-Command-Line

The java command-line argument is an argument i.e. passed at the time of running the java program. The arguments passed from the console can be received in the java program and it can be used as an input.

Language:JavaLicense:MITStargazers:0Issues:0Issues:0

Java---Demo-Arithmetic-Operators

The Java programming language supports various arithmetic operators for all floating-point and integer numbers. These operators are + (addition), - (subtraction), * (multiplication), / (division), and % (modulo).

Language:JavaLicense:MITStargazers:0Issues:0Issues:0

Java---Demo-Arrays

Java array is an object which contains elements of a similar data type. Additionally, The elements of an array are stored in a contiguous memory location. It is a data structure where we store similar elements. We can store only a fixed set of elements in a Java array.

Language:JavaLicense:MITStargazers:0Issues:1Issues:0

Java---Demo-Assignment-Operators

Assignment Operators are used to assign values to a variable. The left side operand of the assignment operator is a variable, and the right side operand of the assignment operator is a value. The value on the right side must be of the same data type of the operand on the left side

Language:JavaLicense:MITStargazers:0Issues:0Issues:0

Java---Demo-Bitwise-Operators

Bitwise operators are used to performing the manipulation of individual bits of a number. They can be used with any integral type (char, short, int, etc.). They are used when performing update and query operations of the Binary indexed trees.

Language:JavaLicense:MITStargazers:0Issues:1Issues:0

Java---Demo-Break-Keyword

The break statement in Java terminates the loop immediately, and the control of the program moves to the next statement following the loop.

Language:JavaLicense:MITStargazers:0Issues:0Issues:0

Java---Demo-Class-and-its-memebers-Attribute-and-Methods

Class attributes are variables defined in the class. These attributes define the state of the object at a particular time. Attributes can be either primitive type like int, byte, char, long, double etc.Methods define behaviour of a class. A method contains business logic which is executed when the method is invoked.

Language:JavaLicense:MITStargazers:0Issues:0Issues:0

Java---Demo-Conditional-Operator

he conditional operator is also known as the ternary operator. This operator consists of three operands and is used to evaluate Boolean expressions. The goal of the operator is to decide; which value should be assigned to the variable.

Language:JavaLicense:MITStargazers:0Issues:1Issues:0

Java---Demo-Continue-Keyword

The continue statement is used in loop control structure when you need to jump to the next iteration of the loop immediately. It can be used with for loop or while loop.

Language:JavaLicense:MITStargazers:0Issues:1Issues:0

Java---Demo-Decrement-Prefix-And-Postfix

The -- operator decrements its single operand by one. When used in prefix mode, it decrements the operand and evaluates to the decremented value of that operand. When used in postfix mode, it decrements its operand, but evaluates to the value of that operand before it was decremented.

Language:JavaLicense:MITStargazers:0Issues:0Issues:0

Java---Demo-Do-While-Loop

Do-while loop is used to iterate a part of the program repeatedly, until the specified condition is true. If the number of iteration is not fixed and you must have to execute the loop at least once, it is recommended to use a do-while loop.

Language:JavaLicense:MITStargazers:0Issues:1Issues:0

Java---Demo-Exception-Handling-Try-Catch

When executing Java code, different errors can occur: coding errors made by the programmer, errors due to wrong input, The try statement allows you to define a block of code to be tested for errors while it is being executed. The catch statement allows you to define a block of code to be executed, if an error occurs in the try block.

Language:JavaLicense:MITStargazers:0Issues:1Issues:0

Java---Demo-Exception-Handling-Try-Catch-Finally

In Java, the finally block is always executed no matter whether there is an exception or not. The finally block is optional. And, for each try block, there can be only one finally block.

Language:JavaLicense:MITStargazers:0Issues:1Issues:0

Java---Demo-For-Each

For-each loop is used to iterate through elements of arrays and collections (like ArrayList). It is also known as the enhanced for loop.

Language:JavaLicense:MITStargazers:0Issues:1Issues:0

Java---Demo-For-Loop

A for loop is a repetition control structure that allows you to efficiently write a loop that needs to be executed a specific number of times

Language:JavaLicense:MITStargazers:0Issues:1Issues:0

Java---Demo-Hello-World

Java is a powerful general-purpose programming language. It is used to develop desktop and mobile applications, big data processing, embedded systems, and so on. According to Oracle, the company that owns Java, Java runs on 3 billion devices worldwide, which makes Java one of the most popular programming languages.

Language:JavaLicense:MITStargazers:0Issues:0Issues:0

Java---Demo-If-Else-And-Elseif

if to specify a block of code to be executed, if a specified condition is true. else to specify a block of code to be executed, if the same condition is false. else if to specify a new condition to test, if the first condition is false.

Language:JavaLicense:MITStargazers:0Issues:1Issues:0

Java---Demo-Increment-Prefix-And-Postfix

The ++ operator increments its single operand by one. When used in prefix mode, it increments the operand and evaluates to the incremented value of that operand. When used in postfix mode, it increments its operand, but evaluates to the value of that operand before it was incremented.

Language:JavaLicense:MITStargazers:0Issues:0Issues:0

Java---Demo-Math-Class

Java Math class provides several methods to work on math calculations like min(), max(), avg(), sin(), cos(), tan(), round(), ceil(), floor(), abs() etc.

Language:JavaLicense:MITStargazers:0Issues:0Issues:0

Java---Demo-Primitive-Data-Type-Boolean

The Boolean data type is used to store only two possible values: true and false. This data type is used for simple flags that track true/false conditions.

Language:JavaLicense:MITStargazers:0Issues:1Issues:0

Java---Demo-Primitive-Data-Type-Char

The char data type is a single 16-bit Unicode character. Its value-range lies between '\u0000' (or 0) to '\uffff' (or 65,535 inclusive).The char data type is used to store characters.

Language:JavaLicense:MITStargazers:0Issues:1Issues:0

Java---Demo-Primitive-Data-Type-Float

The float data type is a single-precision 32-bit IEEE 754 floating point.Its value range is unlimited. It is recommended to use a float (instead of double) if you need to save memory in large arrays of floating point numbers. The double data type is a double-precision 64-bit IEEE 754 floating point. Its value range is unlimited.

Language:JavaLicense:MITStargazers:0Issues:0Issues:0

Java---Demo-Primitive-Data-Type-Integer

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.

Language:JavaLicense:MITStargazers:0Issues:1Issues:0

Java---Demo-Relational-Operators-Logical-Operators

The == and != operators can be used with any primitive data types as well as objects. The <, >, <=, and >= can be used with primitive data types that can be represented in numbers. Logical operators are used to performing logical “AND”, “OR” and “NOT” operations, i.e. the function similar to AND gate and OR gate in digital electronics.

Language:JavaLicense:MITStargazers:0Issues:1Issues:0

Java---Demo-Scanner-Class-In-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.

Language:JavaLicense:MITStargazers:0Issues:1Issues:0

Java---Demo-String-And-String-Methods

In Java, string is basically an object that represents sequence of char values. An array of characters works same as Java string. Java String class provides a lot of methods to perform operations on strings such as compare(), concat(), equals(), split(), length(), replace(), compareTo(), intern(), substring() etc.

Language:JavaLicense:MITStargazers:0Issues:1Issues:0

Java---Demo-Switch-Case

Switch statement executes one statement from multiple conditions. It is like if-else-if ladder statement. The switch statement works with byte, short, int, long, enum types, String and some wrapper types like Byte, Short, Int, and Long. Since Java 7, you can use strings in the switch statement.

Language:JavaLicense:MITStargazers:0Issues:0Issues:0

Java---Demo-Throw-And-Throws-Keywords

Java throw keyword is used throw an exception explicitly in the code, inside the function or the block of code. The Java throws keyword is used to declare an exception. It gives an information to the programmer that there may occur an exception.

Language:JavaLicense:MITStargazers:0Issues:1Issues:0

Java---Demo-While-Loop

While loop is used to iterate a part of the program repeatedly until the specified Boolean condition is true. As soon as the Boolean condition becomes false, the loop automatically stops.

Language:JavaLicense:MITStargazers:0Issues:0Issues:0