Akshaya Akki has Published 49 Articles

Programmer to be an SAP Functional Consultant - HR or MM

Akshaya Akki

Akshaya Akki

Updated on 06-Dec-2019 11:10:53

117 Views

SAP HR is an old module and there are only a few companies which are doing the implementation of old modules onSAP. Moreover, SAP HR has sub-modules like Payroll, Personal Administration, Time Management, etc.If you go for a course in SAP HR, it would only give you conceptual knowledge but ... Read More

Executing an inner join over RFC on database tables in SAP system

Akshaya Akki

Akshaya Akki

Updated on 05-Dec-2019 10:32:27

371 Views

You can do this by creating your own function module that can perform selection as per the requirement.You could also use to create a database view and that can be used to call RFC_READ_TABLE. Also, check for prebuilt SAP connectors provided by companies for SQL joins:http://www.plsapconnector.com/Read More

Difference between charAt() and indexOf() in Java ?

Akshaya Akki

Akshaya Akki

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

2K+ Views

The charAt() method of the String class returns the char value at the specified index. An index ranges from 0 to length() - 1. The first char value of the sequence is at index 0, the next at index 1, and so on, as for array indexing.The indexOf(int ch, int fromIndex) method of ... Read More

Write a Java program to capitalize each word in the string?

Akshaya Akki

Akshaya Akki

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

2K+ Views

You can capitalize words in a string using the toUpperCase() method of the String class. This method converts the contents of the current string to Upper case letters.Example Live Demopublic class StringToUpperCaseEmp {    public static void main(String[] args) {       String str = "string abc touppercase ";     ... Read More

Constructors of StringBuffer class in Java.

Akshaya Akki

Akshaya Akki

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

877 Views

Following are the various constructors provided by the StringBuffer class.S.N.Constructor & Description1StringBuffer()This constructs a string buffer with no characters in it and an initial capacity of 16 characters.2StringBuffer(CharSequence seq)This constructs a string buffer that contains the same characters as the specified CharSequence.3StringBuffer(int capacity)This constructs a string buffer with no characters ... Read More

What is the difference between cerr and cout streams in c++?

Akshaya Akki

Akshaya Akki

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

3K+ Views

cout is an object of the stdout stream, while cerr is an object of the stderr stream.stdout and stderr are different streams, even though they both refer to console output by default. Redirecting (piping) one of them (e.g. program.exe >out.txt) would not affect the other.Generally, stdout ought to be used ... Read More

Difference between StringBuffer and StringBuilder.

Akshaya Akki

Akshaya Akki

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

910 Views

The StringBuffer and StringBuilder classes are used when there is a necessity to make a lot of modifications to Strings of characters.Unlike Strings, objects of type StringBuffer and String builder can be modified over and over again without leaving behind a lot of new unused objects.The StringBuilder class was introduced as of ... Read More

How to swap two String variables without third variable.

Akshaya Akki

Akshaya Akki

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

2K+ Views

To swap the contents of two strings (say s1 and s2) without the third, first of all concatenate them and store in s1. Now using the substring() method of the String class store the value of s1 in s2 and vice versa.Example Live Demopublic class Sample {    public static void main(String args[]){ ... Read More

Java string concat() method vs "+" operator

Akshaya Akki

Akshaya Akki

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

183 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() ... Read More

Advertisements