Technology Questions

Q:

What is the difference between an Interface and an Abstract class?

Answer

An abstract class can have instance methods that implement a default behavior. An Interface can only declare constants and instance methods, but cannot implement default behavior and all methods are implicitly abstract. An interface has all public members and no implementation. An abstract class is a class which may have the usual flavors of class members (private, protected, etc.), but has some abstract methods.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2046
Q:

what are the types of standard SAP Internal Tables?

Answer

1)standered table


2)index table


3)hashed table


4)sorted table

Report Error

View answer Workspace Report Error Discuss

Subject: SAP

0 2045
Q:

How can your application perform actions that are provided by other application e.g. sending email?

Answer

Intents are created to define an action that we want to perform and the launches the appropriate activity from another application.


Code


        Intent intent = new Intent(Intent.ACTION_SEND);


        intent.putExtra(Intent.EXTRA_EMAIL, recipientArray);


        startActivity(intent);

Report Error

View answer Workspace Report Error Discuss

0 2044
Q:

What is the difference between start_form and open_form in scripts? Why is it necessary to close a form always once it is opened?

Answer

strat_form using this we can open many layoutses
open_form using this we can open the layout
performance will be high

Report Error

View answer Workspace Report Error Discuss

Subject: ABAP

0 2041
Q:

What is the difference between method overriding and overloading?

Answer

Overriding is a method with the same name and arguments as in a parent, whereas overloading is the same method name but different arguments

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2041
Q:

What is the difference between throw and throws clause?

Answer

A throw is used to throw an exception manually, where as throws is used in the case of checked exceptions, to tell the compiler that we haven't  handled the exception, so that the exception will be handled by the calling function.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2040
Q:

What do you understand by private, protected and public?

Answer

These are accessibility modifiers. Private is the most restrictive, while public is the least restrictive. There is no real difference between protected and the default type (also known as package protected) within the context of the same package, however the protected keyword allows visibility to a derived class in a different package.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2039
Q:

What is Broadcast ?

Answer

To send data/info to all of the members of the network..( simple 176.16.255.255 for class B network)

Report Error

View answer Workspace Report Error Discuss

0 2038