Mahesh Parahar

Mahesh Parahar

134 Articles Published

Articles by Mahesh Parahar

Page 4 of 14

How do I add multiple items to a Java ArrayList in single statement?

Mahesh Parahar
Mahesh Parahar
Updated on 09-May-2022 3K+ Views

We can utilize Arrays.asList() method to get a List of specified elements in a single statement.Syntaxpublic static List asList(T... a)Returns a fixed-size list backed by the specified array. (Changes to the returned list "write through" to the array.)Type ParameterT  − The runtime type of the array.Parametersa  − The array by which the list will be backed.ReturnsA list view of the specified arrayIn case we use Arrays.asList() then we cannot add/remove elements from the list. So we use this list as an input to the ArrayList constructor to make sure that list is modifiable.ExampleThe following example shows how to create ...

Read More

Adobe Photoshop - Photo & Design Software

Mahesh Parahar
Mahesh Parahar
Updated on 14-Feb-2022 2K+ Views

Adobe Photoshop is the most popular photo editor and designing software. Adobe Photoshop is available for Windows, macOS and iPAD. Adobe Photoshop is very easy to use and provides many useful features required for image editing and designing. Adobe Photoshop is an industry standard in photo editing and digital art. Adobe Photoshop is so popular that its trademark is a verb like to photoshop an image, photoshopping, photoshop contest etc. Adobe Photoshop is a proprietary software owned by Adobe Inc.Key FeaturesFollowing are the key features of Adobe Photoshop −Multiple Layers editing − Adobe photoshop allows to edit and develop raster ...

Read More

Difference between :focus and :active selector in HTML

Mahesh Parahar
Mahesh Parahar
Updated on 21-Dec-2021 934 Views

:focus:focus selector is used to applying a required style when a form element got to focus like button, link, input box. An element can get focus using mouse or using tab key. A focus remains on the element until another element gets focus.:active:active selector is used to indicating that an anchor tag is active or a button is active. When the mouse is down, active selector applies and remains applied till the mouse is down.ExampleFollowing the example, shows usage of :focus as well as :active selector on button and link.    Selector Example           ...

Read More

Explain difference between Strong Entity and Weak Entity

Mahesh Parahar
Mahesh Parahar
Updated on 16-May-2020 15K+ Views

Strong EntityStrong Entity is independent to any other entity in the schema. A strong entity always have a primary key. In ER diagram, a strong entity is represented by rectangle. Relationship between two strong entities is represented by a diamond. A set of strong entities is known as strong entity set.Weak EntityWeak entity is dependent on strong entity and cannot exists without a corresponding strong. It has a foreign key which relates it to a strong entity. A weak entity is represented by double rectangle. Relationship between a strong entity and a weak entity is represented by double diamond. The ...

Read More

Difference between Relational Algebra and Relational Calculus

Mahesh Parahar
Mahesh Parahar
Updated on 16-May-2020 20K+ Views

Relational AlgebraRelational algebra is a procedural query language, which takes instances of relations as input and yields instances of relations as output. It uses operators to perform queries. An operator can be either unary or binary. They accept relations as their input and yield relations as their output. Relational algebra is performed recursively on a relation and intermediate results are also considered relations.The fundamental operations of relational algebra are as follows -SelectProjectUnionSet differentCartesian productRenameRelational CalculusIn contrast to Relational Algebra, Relational Calculus is a non-procedural query language, that is, it tells what to do but never explains how to do it.Relational ...

Read More

Differences between Data paths.

Mahesh Parahar
Mahesh Parahar
Updated on 16-May-2020 1K+ Views

Data PathsCPU has two sections, data section and control section. Data section is also called data paths. Registers, ALU and interconnection bus collectively constitutes a data path. Data paths are of three types:Single CycleMultiple CyclePipelineFollowing are some of the important differences between Single Cycle, Multiple Cycle and Pipeline data paths.Sr. No.KeySingle CycleMultiple CyclePipeline1CycleSingle Cycle has one CPI (Clock Cycle Per Instruction).Multiple Cycle has variable CPIs.Pipeline has fixed no. of CPIs.2Instruction divisionIn single cycle, instruction is not divided per CPI.In multiple cycle, an instruction can be divided in arbitrary steps.In pipline, an instruction is divided one step per pipeline stage.3Instruction divisionIn ...

Read More

Difference between Fedora and CentOS

Mahesh Parahar
Mahesh Parahar
Updated on 16-Apr-2020 304 Views

FedoraFedora is Linux based and open-source operating system intended for developers and system administrators. It is supported by a huge Red Hat Community. It was introduced in Sep 2003. Initially, it was also known as Fedore Core. Fedora OS uses IPSec to connect to remote machines or networks. It uses Internet Key Exchange, IKE protocol to make secure, robust connections between machines.CentOSCentOS is also Linux based open-source distributed operating system. It is quite stable and robust. It was developed over source code Red Hat Enterprise Linux, RHEL and is actively developed by CentOS community which have large number of network ...

Read More

Difference between Fedora and Red Hat

Mahesh Parahar
Mahesh Parahar
Updated on 16-Apr-2020 1K+ Views

FedoraFedora is Linux based and open-source operating system intended for developers and system administrators. It is supported by a huge Red Hat Community. It was introduced in Sep 2003. Initially, it was also known as Fedora Core. Fedora OS uses IPSec to connect to remote machines or networks. It uses Internet Key Exchange, IKE protocol to make secure, robust connections between machines.Red HatRed Hat Enterprise Linux, RHEL is also Linux based operating system but it is targetted for business usage. It is sold using annual/monthly subscription basis including the technical support and Red Hat network. It was introduced in 1994 ...

Read More

Difference between Fedora and Debian

Mahesh Parahar
Mahesh Parahar
Updated on 16-Apr-2020 347 Views

FedoraFedora is Linux based and open-source operating system intended for developers and system administrators. It is supported by a huge Red Hat Community. It was introduced in Sep 2003. Initially, it was also known as Fedore Core. Fedora OS uses IPSec to connect to remote machines or networks. It uses Internet Key Exchange, IKE protocol to make secure, robust connections between machines.DebianDebian is again a Linux based open-source operating system. It is part of GNU project providing program components to Debian OS. Debian was developed targetting the end-users general purpose. It is highly user friendly and efficient. Many large and ...

Read More

Difference between Python and Bash

Mahesh Parahar
Mahesh Parahar
Updated on 16-Apr-2020 1K+ Views

PythonPython is a programing language designed to be simple to implement and easy to understand. It is a dynamically typed language. It is not using pointers.BashBash is a command-line interpreter and is shipped by default in Linux and MacOS operating systems. It can be installed in other operating systems as well. It is default User Shell for Linux and MacOS.The following are some of the important differences between Python and Bash.Sr. No.KeyPythonBash1TypePython is a programming language mostly used in automation programming.Bash is a command-line interpreter or user shell to interpret user commands.2BasisPython is developed as an easy to implement an ...

Read More
Showing 31–40 of 134 articles
« Prev 1 2 3 4 5 6 14 Next »
Advertisements