Articles on Trending Technologies

Technical articles with clear explanations and examples

How to pass JavaScript variables to PHP?

Johar Ali
Johar Ali
Updated on 30-Jul-2019 21K+ Views

You can easily get the JavaScript variable value on the same page in PHP. Try the following codeL. var res = "success";

Read More

What is the package for String Class in Java?

Jai Janardhan
Jai Janardhan
Updated on 30-Jul-2019 5K+ Views

String class belongs to the java.lang package.

Read More

What is the difference between >> and >>> operators in Java?

Samual Sam
Samual Sam
Updated on 30-Jul-2019 2K+ Views

>> Binary Right ShiftThe left operand value is moved right by the number of bits specified by the right operand.>>> Shift right zero fillThe left operand value is moved right by the number of bits specified by the right operand and shifted values are filled up with zeros.

Read More

Is StringBuffer final in Java?

Anjana
Anjana
Updated on 30-Jul-2019 768 Views

Yes, StringBuffer class is final Java. We cannot override this class.

Read More

Why we do not import a package while we use any string function?

Sai Nath
Sai Nath
Updated on 30-Jul-2019 980 Views

The String class belongs to the java.lang package. This is the default package of the Java language therefore it is not mandatory to import it to use its classes.

Read More

What is the role of C++ in Computer Science?

Anjana
Anjana
Updated on 30-Jul-2019 294 Views

C++ is a programming language developed by Bjarne Stroustrup in 1979 at Bell Labs. C++ is regarded as a middle-level language, as it comprises a combination of both high-level and low-level language features. It is a superset of C, and that virtually any legal C program is a legal C++ program. C++ runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.It was designed with a bias toward system programming and embedded, resource-constrained and large systems, with performance, efficiency and flexibility of use as its design highlights. It has been used in the ...

Read More

Why C++ is the Best Programming Language?

Paul Richard
Paul Richard
Updated on 30-Jul-2019 1K+ Views

C++ is known to be a very powerful language. C++ allows you to have a lot of control as to how you use computer resources, so in the right hands, its speed and ability to cheaply use resources should be able to surpass other languages. Thanks to C++'s performance, it is often used to develop game engines, games, and desktop apps. Many AAA title video games are built with C++.C++'s greatest strength is how scalable it could be, so apps that are very resource intensive are usually built with it. As a statically typed language, C++ is generally more performant ...

Read More

Java string concat() method vs "+" operator

Akshaya Akki
Akshaya Akki
Updated on 30-Jul-2019 354 Views

The notable differences between concat() method and +operator are:concat() method+operatorYou cannot concat a null value to a String using the concat() method.You can concat null value using the ‘+’ operator.Using the concat() method you can concat only two String variables.Using the ‘+’ operator you can concat multiple values.Using the concat() method you can concat only String type of arguments.Using the ‘+’ operator you can concat any type of arguments.

Read More

What are secured cookies in JavaScript?

Daniol Thomas
Daniol Thomas
Updated on 30-Jul-2019 2K+ Views

A secured cookie is a cookie that works with HTTP/HTTPS, known as a httpOnly cookie. These cookies are only used for HTTP requests, so unethical access though scripting is not possible. Therefore, cross-site scripting can be stopped, which in turn stops attacks.The secure attribute is always activated for secured cookies, so it is transmitted with encrypted connections, without any hassles and security issues. The httpOnly flag does not give cookie access to JavaScript or any non-HTTP methods. This is situated in the secure cookie header.The secure attribute and httpOnly flag ensure that the browser does not allow malicious scripts to ...

Read More

Difference between HashMap and HashTable in Java.

Ankitha Reddy
Ankitha Reddy
Updated on 30-Jul-2019 21K+ Views

HashMap is non-syncronized and is not thread safe while HashTable is thread safe and is synchronized. HashMap allows one null key and values can be null whereas HashTable doesn't allow null key or value. HashMap is faster than HashTable. HashMap iterator is fail-safe where HashTable iterator is not fail-safe. HashMap extends AbstractMap class where HashTable extends Dictionary class.

Read More
Showing 60891–60900 of 61,248 articles
Advertisements