Articles on Trending Technologies

Technical articles with clear explanations and examples

Is final method inherited in Java?

seetha
seetha
Updated on 30-Jul-2019 3K+ Views

No, we cannot override a final method in Java. The final modifier for finalizing the implementations of classes, methods, and variables. We can declare a method as final, once you declare a method final it cannot be overridden. So, you cannot modify a final method from a sub class. The main intention of making a method final would be that the content of the method should not be changed by any outsider. Example class Demo{ public final void demoMethod(){ System.out.println("Hello"); } } public class Sample extends Demo{ ...

Read More

Accessing an SAP endpoint in apex code

Ali
Ali
Updated on 30-Jul-2019 264 Views

I faced a similar issue earlier but it was because of a bug in JAVA security package (refer link for more details)http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7044060I just got updated myself to latest OpenJDK7 and it solved my issue. I think you can try the same and check if it helps.

Read More

How to store details in SAP-MDG?

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

If you don’t want to create a custom table then you can for creating a data model with the help of reuse method. You can then save this newly created data model in staging MDG. Other option that you have is Z-table. You can create a Z-table to persist the data.Hope this helps!

Read More

Can I use Custom Error pages in SAP HANA?

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

You are correct as XSA supports the custom error pages but classic does not support custom error messages.In case you need to do in any way, then what you can try out is you need to parse all requests through a load balancer or a proxy and then show custom error message. And it is not a easy and maintainable approach.

Read More

Are 'this' and 'super' keywords in Java?

Prabhas
Prabhas
Updated on 30-Jul-2019 458 Views

Yes, this and super are keywords in Java. Where ‘this’ is used as a reference of the current object and, ‘super’ is used as a reference to the superclass object.

Read More

Where to define an associated type in SAP function module?

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

The parameter that you are using seems to be a import type and it will require an associated type in order to be of any use.You can define the table parameters for this. You can find them within the tables tab. Once you have defined them then you can use them for either export or import.Hope it works for you!

Read More

Is main a keyword in Java?

varun
varun
Updated on 30-Jul-2019 1K+ Views

No, main is not a keyword in Java.

Read More

Is null a keyword in Java?

usharani
usharani
Updated on 30-Jul-2019 670 Views

No, null is not a keyword. Though they seem like keywords null, true and, false are considered as literals in Java.

Read More

How to add items to an array in java dynamically?

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

Since the size of an array is fixed you cannot add elements to it dynamically. But, if you still want to do it then, Convert the array to ArrayList object.Add the required element to the array list.Convert the Array list to array.Exampleimport java.util.ArrayList; import java.util.Arrays; import java.util.Scanner; public class AddingItemsDynamically {    public static void main(String args[]) {       Scanner sc = new Scanner(System.in);       System.out.println("Enter the size of the array :: ");       int size = sc.nextInt();       String myArray[] = new String[size];       System.out.println("Enter elements of the array ...

Read More

Connecting SAP SOAP WebService with Android application

SAP Expert
SAP Expert
Updated on 30-Jul-2019 407 Views

You are passing parameter in URL like this: http://XXX.com/xyz/api/sap-client=100&sap-user=username&sap-password=xxxxx"Instead of this, you should pass parameter like this: request.addProperty("sap-client", "100"); request.addProperty("sap-user", "*"); request.addProperty("sap-password", "*");

Read More
Showing 61241–61250 of 61,297 articles
Advertisements