Articles on Trending Technologies

Technical articles with clear explanations and examples

Java is also not pure object-oriented like c++

Pythonista
Pythonista
Updated on 30-Jul-2019 469 Views

the main() method in Java code is itself inside a class. The static keyword lets the main() method which is the entry point of execution without making an object but you need to write a class. In C++, main() is outside the class and writing class it self is not mandatory. Hence, C++ is not a pure object oriented language bu Java is a completely object oriented language.

Read More

How to write string functions in Java?

Pythonista
Pythonista
Updated on 30-Jul-2019 203 Views

1) take a string from the user and check contains atleast one digit or not:Extract character array from string using toCharArray() method. Run a for loop over each character in array and test if it is a digit by static method isDigit() of character classpublic static boolean chkdigit(String str) { char arr[]=str.toCharArray(); for (char ch:arr) { if (Character.isDigit(ch)) { return true; } } return false; }2.) take ...

Read More

CamelCase in Java naming conventions

Ankitha Reddy
Ankitha Reddy
Updated on 30-Jul-2019 975 Views

Java follows camel casing for objects, class, variables etc. If a name is having multiple words, the first letter is small then consecutive words are joint with the first letter as a capital case. Consider the following example − Taxation Department Class - TaxationDepartment Object - taxationDepartment Method - getTaxationDepartmentDetails Variable - taxationDepartment

Read More

What are Java methods equivalent to C# virtual functions?

Sharon Christine
Sharon Christine
Updated on 30-Jul-2019 616 Views

All instance methods in Java are virtual except, static methods and private methods.

Read More

Creating multiple Java objects by one type only

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

You can create a List of object easily. Consider the following example, where I'll create an array of Employee objects and print their details in a for loop. import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.List; public class Tester implements Cloneable { private int data; public int getData() { return data; } public void setData(int data) { this.data = data; } public Tester(int data){ ...

Read More

Use of Function modules in SAP ABAP to change address independent communication data for BP

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

You can change address independent communication data using Function Modules like BAPI_BUPA_CREATE_FROM_DATA and BAPI_BUPA_CENTRAL_CHANGE and other FM’s in the same category.Function Module: BAPI_BUPA_CREATE_FROM_DATA   Function Group: BUBA_3            Program Name: SAPLBUBA_3   Following are the parameters:Function Module: BAPI_BUPA_CENTRAL_CHANGEFunction Group: BUBA_3            Program Name: SAPLBUBA_3Following are the parameters:Functional Group: BUBA_3You have lot many function modules that comes under function group BUBA_3, Few of them are below and their description:BAPI_BUPA_CREATE_FROM_DATASAP BP, BAPI: Create Business PartnerBAPI_BUPA_ADDRESSES_GETSAP BP, BAPI: Determine All AddressesBAPI_BUPA_EXISTENCE_CHECKSAP BP, BAPI: Check Existence of Business PartnerBAPI_BUPA_GET_NUMBERSSAP BP, BAPI: Read Business Partner NumbersBAPI_BUPA_ADDRESS_GETDETAILSAP BP, BAPI: Read ...

Read More

Using Switch Ownership option in SAP HANA

SAP ABAP Expert
SAP ABAP Expert
Updated on 30-Jul-2019 1K+ Views

With use of switch ownership you can take single or multiple inactive objects from other users. Multiple Information views can be created in HANA system and all these views remains inactive until they are activated in HANA Studio. With use of Switch Ownership option, one user can take ownership of one or multiple inactive objects in HANA.You need to select inactive Information objects that you want to take from other user. From drop down list you can select source user and with use of Add button, you can add objects under selected models window.

Read More

Difference between take over and Switch ownership in SAP HANA

SAP ABAP Expert
SAP ABAP Expert
Updated on 30-Jul-2019 638 Views

Below is the difference between take over and switch ownership.Take Over: This option is used to take single inactive object from another workspace.Switch Ownership: This option is used to take single or multiple inactive objects from other users.When you expand Switch ownership option in HANA Modeler, you can see description of this option-

Read More

How to use R in Java-8 regex.

Arnab Chakraborty
Arnab Chakraborty
Updated on 30-Jul-2019 570 Views

\R matches any line break as defined by the Unicode standardPattern p = Pattern.compile("\R");Unicode line-break sequence is equivalent to \u000D\u000A|[\u000A\u000B\u000C\u000D\u0085\u2028\u2029]

Read More

Using activity in SAP for number range intervals and number range objects

karthikeya Boyini
karthikeya Boyini
Updated on 30-Jul-2019 178 Views

As the name indicates, activity 02 is for intervals while activity 17 is for objects. There can be a different number range interval for a given SAP number range interval.

Read More
Showing 60921–60930 of 61,297 articles
Advertisements