- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Chandu yadav has Published 1163 Articles
Chandu yadav
1K+ Views
TestedThe benefit of overriding is ability to define a behavior that's specific to the subclass type, which means a subclass can implement a parent class method based on its requirement.In object-oriented terms, overriding means to override the functionality of an existing method.Example Live Democlass Animal { public void move() { ... Read More
Chandu yadav
2K+ Views
In order to find the count of matching characters in two Java strings the approach is to first create character arrays of both the strings which make comparison simple.After this put each unique character into a Hash map.Compare each character of other string with created hash map whether it is ... Read More
Chandu yadav
2K+ Views
JSON stands for JavaScript Object Notation. It is a lightweight data interchange format. It is similar to pickle. However, pickle serialization is Python specific whereas JSON format is implemented by many languages. The json module in Python’s standard library implements object serialization functionality that is similar to pickle and marshal ... Read More
Chandu yadav
843 Views
Very often we need to pass arguments to Python script when executing from command line. However, the script raises exception when parameters needed are not provided in equal number or type or order. That’s where the need to properly parse the command line argument occurs.The argparse module provides tools for ... Read More
Chandu yadav
3K+ Views
Number System represents value of number with respect to its given base. Based on its Base value, a number has unique representation and different number systems have different representation of the same number. For example, Binary, Octal, Decimal and Hexadecimal Number systems are used in microprocessor programming.If the Base value ... Read More
Chandu yadav
3K+ Views
The Lempel–Ziv–Markov chain algorithm(LZMA) performs lossless data compression using a dictionary compression scheme featuring a higher compression ratio than other compression algorithms. Python’s lzma module consists of classes and convenience functions for compression and decompression of data with LZMA algorithm.Although the functionality in this module is similar to that of ... Read More
Chandu yadav
340 Views
To implement animation on padding-left property with CSS, you can try to run the following codeExampleLive Demo div { width: 350px; height: 150px; outline: 3px solid orange; animation: myanim 3s infinite; } @keyframes myanim { 50% { padding-left: 20px; } } CSS padding-left property
Chandu yadav
739 Views
To check if a given String contains only unicode letters, digits or space, we use the isLetterOrDigit() and charAt() methods with decision making statements.The isLetterOrDigit(char ch) method determines whether the specific character (Unicode ch) is either a letter or a digit. It returns a boolean value, either true or false.Declaration ... Read More
Chandu yadav
175 Views
To implement animation on min-width property with CSS, you can try to run the following codeExampleLive Demo div { overflow: auto; width: 50%; ... Read More