
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Arjun Thakur has Published 1025 Articles

Arjun Thakur
204 Views
Use the onemptied attribute in HTML to execute a script when the file is unavailable in HTML or it is empty.ExampleYou can try to run the following code to implement the onemptied attribute − Your browser does not support the video element. function display() { alert ("Sorry! Empty playlist!"); }

Arjun Thakur
352 Views
Use the dir attribute in HTML to set a paragraph with right-to-left direction. Add the value rtl to the dir attribute for the text to be placed from right-to-left.ExampleYou can try to run the following code to implement dir attribute − This is demo paragraph. ... Read More

Arjun Thakur
192 Views
Use the cols attribute in HTML to display the visible width of a textarea. You can try to run the following code to implement cols attribute −Example This is a demo paragraph. This is a demo paragraph. This is a demo paragraph. This is a demo paragraph.

Arjun Thakur
872 Views
Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which may contain data, in the form of attributes; and instructions to do things, in the form of methods.For example, a person is an object which has certain properties such as height, gender, age, etc. It also ... Read More

Arjun Thakur
1K+ Views
POD is an acronym in C++ that means plain old data. It is a class/struct that ONLY has member variables and no methods, constructors, destructors, virtual functions, etc. For example, Example#include using namespace std; // POD struct MyStruct { int key; string data; }; int main() ... Read More

Arjun Thakur
538 Views
A string literal or anonymous string is a type of literal in programming for the representation of a string value within the source code. More simply put, a string literal is a bit of text between double quotes. For example, const char* var = "Hello";In this definition of var, "Hello" ... Read More

Arjun Thakur
193 Views
The intern() method of the String class returns a canonical representation for the string object. It follows that for any two strings s and t, s.intern() == t.intern() is true if and only if s.equals(t) is true.ExampleLive Demoimport java.io.*; public class Test { public static void main(String args[]) { ... Read More

Arjun Thakur
203 Views
The compareTo() method in Java compares two strings lexicographically.ExampleLive Demopublic class Test { public static void main(String args[]) { String str1 = "Strings are immutable"; String str2 = new String("Strings are immutable"); String str3 = new String("Integers are not immutable"); ... Read More

Arjun Thakur
2K+ Views
We all know that the String class in Java is mutable i.e. once we create a String variable we cannot modify its data or do any manipulations.But, there may be scenarios where we need to modify the data of String variables. In such cases, we could use StringBuffer class.This class ... Read More