There are main four features of Java Programming Language: There are other features like: Abstraction Using the abstraction feature of Java, we can protect certain data and show only necessary information to the user. In Java, abstraction can be achieved…

Web – As you know web is the synonym of the net this means in computer science is the web of connected computers or nodes. HTML – HTML stands for HyperText Markup Language. It’s just a markup language that is…

Python is a programming language that was invented by Guido Van Rossum in 1991. Python programming language is written in C Language. Python is an interpreted language and the Python Interpreter is called CPython. Why Python is better than other…

Software Engineering is engineering that is related to building a software product using techniques, methods, and scientific principles. Using software engineering we can make efficient, effective, and reliable software. Software is a collection of programs and a program is a…

This program comes under the array operations in Data Structure. In this program, we will create an array take input from the user, and sort the array then we’ll find the second maximum number and second minimum number. For sorting,…

Sum Rule Principle Suppose that an event E can occur in m ways and a second event F can occur in n ways and suppose both events cannot occur simultaneously. Then E or F can occur in m+n ways. Example…

Two logical statements p and q are said to be logical equivalents. It is denoted by p≡q when if p⇔q is a tautology. Note: Do not write p = q; instead write p ≡ q. Note: It doesn’t mean that p…

Tautologies A proposition p is a tautology when it is true in all situations. P tautology contains only the True in the field of the column of its truth table. Example: (p⟶q) ↔(∼q⟶∼p) is a tautology p q p⟶q ~p…

Negation Negation means the opposite of the original statement. If p is the statement, then the negation of p will be denoted by ~p and read as “It is not the case that p”. So if p is true then…

A proposition or a statement or a logical sentence is a declarative sentence that can be either true or false. Example of Propositions Example of Non-Propositions Propositional Variable The lowercase letters starting with P are used to represent the proposition….