Paul Richard has Published 74 Articles

Why C++ is the Best Programming Language?

Paul Richard

Paul Richard

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

872 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 ... Read More

Which package is used for pattern matching with regular expressions in java?

Paul Richard

Paul Richard

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

202 Views

Java provides the java.util.regex package for pattern matching with regular expressions.

What is the difference between a String object and a String literal in Java?

Paul Richard

Paul Richard

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

731 Views

When the String literal used to create String, JVM initially checks weather String with the same value in the String constant pool, if available it creates another reference to it else it creates a new object and stores it in the String constant pool.In case of an object, each time you instantiate ... Read More

What is the scope of public access modifier in Java?

Paul Richard

Paul Richard

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

594 Views

The public modifier has the widest scope. When a class or its members declared public they are accessible from everywhere. A default class or its members are available to any other class in the same package. However, if the public class we are trying to access is in a different ... Read More

Previous 1 ... 4 5 6 7 8
Advertisements