Mahesh Parahar has Published 253 Articles

Difference between ArrayBlockingQueue and LinkedBlockingQueue

Mahesh Parahar

Mahesh Parahar

Updated on 27-Jan-2020 10:32:34

359 Views

Blocking queue interface is the part of Java.util.concurrent package. Blocking queue is specially designed for producer consumer queues and also support collection. This interface is divided into four parts of methods to support all types of operation which can be performed over the queue. It doesn't accept null keys. ArrayBlockingQueue ... Read More

Difference between OpenId and OAuth

Mahesh Parahar

Mahesh Parahar

Updated on 27-Jan-2020 10:29:12

337 Views

OAuth is designed for providing authorization of the third party without providing password. It is http based. OAuth provides an access token that can be exchanged for any supported assertion via an API.OpenId is designed for authentication. In openId third-party authenticate your users for you, by using accounts they already ... Read More

Mathematical Logic Statements and Notations

Mahesh Parahar

Mahesh Parahar

Updated on 21-Jan-2020 12:20:37

4K+ Views

PropositionA proposition is a collection of declarative statements that has either a truth value "true” or a truth value "false". A propositional consists of propositional variables and connectives. We denote the propositional variables by capital letters (A, B, etc). The connectives connect the propositional variables.PredicateA predicate is an expression of ... Read More

Vertex Covering

Mahesh Parahar

Mahesh Parahar

Updated on 21-Jan-2020 12:18:24

216 Views

A covering graph is a subgraph that contains either all the vertices or all the edges corresponding to some other graph. A subgraph that contains all the vertices is called a line/edge covering. A subgraph that contains all the edges is called a vertex covering.Let 'G' = (V, E) be ... Read More

Difference between the and$ operator in php

Mahesh Parahar

Mahesh Parahar

Updated on 13-Jan-2020 06:43:02

385 Views

$ operatorOperator is used to define variables in php. For example, message. Such variables can contain any type of value like int, string, etc.$$ operator$$ is a special operator that contains the name of another variable and can be used to access the value of that variable.ExampleFollowing the example, shows ... Read More

Difference between the AND and && operator in php

Mahesh Parahar

Mahesh Parahar

Updated on 13-Jan-2020 06:39:02

340 Views

'AND' Logical operator'AND' operator is a logical AND operator but has low precedence to = operator.'&&' Logical operator'&&' is also a logical AND operator but has high precedence to = operator.ExampleFollowing the example, shows the difference of 'AND' vs '&&' operators. Live Demo    PHP Example   ... Read More

Difference between the | and || or operator in php

Mahesh Parahar

Mahesh Parahar

Updated on 13-Jan-2020 06:35:31

250 Views

'|' Bitwise OR operator'|' operator is a bitwise OR operator and is used to set the bit to 1 if any of the corresponding bit is 1.'||' Logical Or operator'||' is a logical Or operator and works on complete operands as whole.ExampleFollowing example, shows usage of '|' vs '||' operators. Live ... Read More

Difference between !== and ==! operator in PHP

Mahesh Parahar

Mahesh Parahar

Updated on 13-Jan-2020 06:33:04

431 Views

'!==' comparison operator'!==' operator checks the unequality of two objects with a type check. It does not converts the datatype and makes a typed check.For example 1 !== '1' will results true.'==!' comparison operator'==!' operator is combination of two operators and can be written as == (!operands).ExampleFollowing example, shows usage ... Read More

Difference between != and !== operator in JavaScript Program

Mahesh Parahar

Mahesh Parahar

Updated on 13-Jan-2020 06:28:36

460 Views

'!=' comparison operator'!=' operator checks the unequality of two objects without making the type check. It converts the datatype of two operands to one and then compares their value. For example 1 != '1' will results false.'!==' comparison operator'!==' operator checks the unequality of two objects with a type check. ... Read More

Difference between "." and "#" selector in CSS

Mahesh Parahar

Mahesh Parahar

Updated on 13-Jan-2020 06:23:56

2K+ Views

'.' selector'.' selector is a class level selector. The dot operator is used to create a style class which can then be applied on multiple html elements.'#' selector'#' selector is an element level selector. Hash operator is used to applying style on a particular element whose id is the same ... Read More

Advertisements