Arjun Thakur has Published 1109 Articles

Where objects, methods and variables are stored in memory in Java?

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

3K+ Views

There are five main memory areas which are used to various Java elements. Following is the list of the same. Class Area - This area contains the static members of the class. Method Area - This area contains the method definition and executable code. Heap Area - This area ... Read More

Initialization vs Instantiation in C#

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

4K+ Views

Initialization When you assign a value to a variable when it is declared, it is called Initialization. Here is an example − int val = 50; For array initialization, you may need a new keyword, whereas to initialize a variable, you do not need it. Instantiation When you ... Read More

Digitizing Voice Signals

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

251 Views

Analog Telephone Cores The early telephone networks had analog cores. Frequency division multiplexing (FDM) was used to transmit a number of voice signals over the single line. Twelve calls were multiplexed into a group. Five groups were multiplexed into a supergroup. Digital Telephone Cores The present telephone networks have digital ... Read More

Display MySQL Results as comma separated list?

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

2K+ Views

We can show the result as a comma separated list with the help of the ‘concat()’ function with the parameter ‘, ’. Let us see an example now. Firstly, we will create a table. The CREATE command is used to create a table. mysql> create table CommaSeperateDemo ... Read More

MyISAM versus InnoDB in MySQL?

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

214 Views

Both are engine types. Here is the query by which we can get to know which engine type and tables are being used. Firstly, we will choose the database with the help of USE command − mysql> USE business; Database changed Here is the query through which we ... Read More

How to change MySQL column definition?

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

158 Views

To change MySQL column definition, we can use modify or change clause with ALTER command. Let us first create a table with a column as ID, with int data type. We will modify the same column name with varchar data type. Creating a table. mysql> create table ModifyColumnDemo ... Read More

When should I use a composite index in MySQL?

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

496 Views

The composite index can be used when we are using sub queries. The advantages of using composite index are in case of. Joining Filtering Selecting The following is the syntax of index. index(column_name1, column_name2, column_name3, column_name4, ............................N) Let us create a table first and within that ... Read More

What is the operator <=> in MySQL?

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

129 Views

Here are the usages of the operator in MySQL. Case 1 This operator is similar to = operator i.e. when the value is equal then the result will become true(1), otherwise false(0). In the first case both = and operators work same. Case 2 Whenever we compare any ... Read More

Shortcomings of mysql_real_escape_string?

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

129 Views

The shortcoming of mysql_real_escape_string is as follows − It has main shortcoming in the modern API while we are making prepared statement. This has another shortcoming for every possible attack when you will typecast. Let us see the typecast syntax in MySQL − (TypeCast)mysql_real_escape_string($_REQUEST['anyColumnName'])); In the above syntax, ... Read More

Community Antenna Television

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:23

756 Views

Cable television in their early days were called Community Antenna Television (CATV) or sometimes as Community Access Television. It was originally conceived as a method to provide cable TV services to rural areas and hilly terrains. The subscribers who want to avail the cable TV services need to pay a ... Read More

Advertisements