Inheritance in Java-Types and Examples

Inheritance in Java is the process of acquiring the properties of one class object into another class object. It allows the hierarchical classification. Inheritance also provides the facility of reusability. In Java programming, a class that is inherited is called a superclass or sub class or parent class and class that does the inheriting is … Read more

Linux and Unix cd command tutorial with examples

Command cd stands for Change Directory. You can change directory or move from one directory to another directory by using cd command. Syntax:

Example: pwd command display the absolute path name of current directory. To see the current directory absolute path press pwd command on terminal.

We are currently in “ it ’ … Read more

Algebraic expression

A combination of constants and variables connected by some or all at the four fundamental operations, additions, subtraction, multiplication & division is called an algebraic expressione.g- 3x + zy Terms:- the different parts of an algebraic expression separated by sign+ or – are called the terms of an expression.e.g. 3x+2y (term – 3x & 2y) … Read more

Login page in awt applet Java

Creating Login page in awt applet is easy. Here we are not using any layout. Login page contains two label, one textfield , one password field and two buttons. Steps by step process to develop this program is as below Declare Label, JTextField, JPasswordField and Button Inside init() create object for JLabel, JTextField and JPasswordField … Read more

Ethereum Blockchain App using Ganache and Web3.js

What is Blockchain A blockchain is a decentralized and distributed digital ledger that is used to record transactions across many computers in a way that is secure, transparent, and tamper-resistant. Each block in the chain contains a cryptographic hash of the previous block, a timestamp, and transaction data. Once a block is added to the … Read more

Abstract Class in C++

In a C++ programming language, a class that contains at least one pure virtual function is called an abstract class. This pure virtual function is declared within the base class and defined by a derived class. Like another class, an abstract class can also contain normal functions. We can not create an object of an … Read more

Categories C++

Simple java program to add two numbers

java program to add two numbers is a very simple program. It is required by learners How can we add two numbers. We will start with simple addition and try to cover additional things here. Simple java program to add two numbers Steps to add two numbers Store two numbers in two variables Add both … Read more

छत्तीसगढ़ प्राकृतिक प्रदेश

प्राकृतिक विभाजन प्रतिशत् क्षेत्रफल 1) छत्तीसगढ़ का मैदान/ 50.34ः 68064 वर्ग कि.मी. महानदी बेसिन 2) दण्डकारण्य का पठार 28.91ः 39060 वर्ग कि.मी. 3) पूर्वी बघेल का पठार 16.16ः 21863 वर्ग कि.मी 4) जशपुर सामरी पाट 4.59ः 6205 वर्ग कि.मी. छत्तीसगढ़ का मैैदान इसके भौतिक उपविभाग पेण्ड्रा, लोरमी का पठार, व छुरी उदयपुर की पहाड़ियों छ.ग. … Read more

How to deploy and run a war file in XAMPP tomcat

What is XAMPP? XAMPP full form is Cross Platform(X), Apache (A), MySQL (M), PHP (P) and Perl (P). XAMPP Control Panel allows use to Start and Stop Module services XAMPP has following modules Apache MySql FileZilla Mercury Tomcat To run PHP files we have to start Apache server. To access MySql Database we start MySql … Read more