George John has Published 1234 Articles

How to Learn C++ Programming?

George John

George John

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

126 Views

So you've decided to learn how to program in C++ but don't know where to start. Here's a brief overview of how you can get started. Get a C++ Compiler This is the first step you'd want to do before starting learning to program in C++. There are good free ... Read More

Different C++ Versions

George John

George John

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

8K+ Views

There are a lot of versions of the C++ programming language. These versions of the language are implementations of compilers based on specifications constructed by the ISO C++ community, the community that oversees the development of the language. The following are the versions of the language − C++98 (ISO/IEC ... Read More

How can we delete all rows from a MySQL table?

George John

George John

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

1K+ Views

We can use either TRUNCATE statement or DROP statement to delete all the rows from the table. It can also be done with the help of DELETE statement but in that case WHERE clause must identify all the rows of the table. As we know that both TRUNCATE and DELETE ... Read More

What does the method removeElementAt(int index) do in java?

George John

George John

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

47 Views

The removeElementAt(int index) method is used to delete the component at the specified index. Each component in this vector with an index greater or equal to the specified index is shifted downward to have an index one smaller than the value it had previously and the size of this vector ... Read More

Why is it not recommended to use the mixture of quoted as well as unquoted values in MySQL IN() function’s list?

George John

George John

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

46 Views

Actually, MySQL has different comparison rules for quoted values such as strings and unquoted values such as numbers. On mixing the quoted and unquoted values in IN() function list may lead to the inconsistent result set. For example, we must not write the query with IN() function like below − ... Read More

What is the scope of private access modifier in Java?

George John

George John

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

763 Views

The scope of the private modifier lies with in the class. Members that are declared private cannot be accessed outside the class. Private access modifier is the most restrictive access level. Class and interfaces cannot be private. Variables that are declared private can be accessed outside the class, if public ... Read More

What does the modifier transient in Java do?

George John

George John

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

138 Views

An instance variable is marked transient to point the JVM to skip the actual variable once serializing the thing containing it. This modifier is included in the statement that creates the variable, preceding the class or data type of the variable. Example public class Employee implements java.io.Serializable { ... Read More

Using “SPELL AMOUNT” function to convert amounts in ABAP

George John

George John

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

461 Views

You can use the standard function module “SPELL AMOUNT”. It will convert amounts to corresponding words. To display function module, use Transaction code: SE37 Click on Search icon and select Function module: “SPELL AMOUNT”

How many ways a String object can be created in java?

George John

George John

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

793 Views

You can create a String by − Step 1 − Assigning a string value wrapped in " " to a String type variable. String message = "Hello Welcome to Tutorialspoint"; Step 2 − Creating an object of the String class using the new keyword by passing the string ... Read More

How to find consonants in a given string using Java?

George John

George John

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

2K+ Views

One way to find the vowels in a given String is to compare every character in it using the charAt() method with the vowel letters. Example Live Demo public class FindingConsonants { public static void main(String args[]) { String str = new String("Hi Welcome to Tutorialspoint"); for(int i=0; i

Advertisements