Akshaya Akki has Published 25 Articles

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

Akshaya Akki

Akshaya Akki

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

691 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:

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

Difference between StringBuffer and StringBuilder.

Akshaya Akki

Akshaya Akki

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

1K+ 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

3K+ 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

352 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