Smita Kapse

Smita Kapse

388 Articles Published

Articles by Smita Kapse

Page 17 of 39

Using subset of items present in the list in SAP Program

Smita Kapse
Smita Kapse
Updated on 13-Mar-2026 196 Views

When working with SAP programs, you often need to handle scenarios where only a subset of items from a list should be processed. There are several approaches you can use depending on your specific requirements. Using SWITCH CASE Statement You can use a SWITCH CASE statement to handle your scenario. This is a good choice if you know well in advance what all properties are required and what is not required. Also, it will let you to unit test your code effectively. Example Here's how you can implement a SWITCH CASE approach in ABAP − ...

Read More

Performing Null check using HANA SQL Script

Smita Kapse
Smita Kapse
Updated on 13-Mar-2026 4K+ Views

You can go for using either NULLIF or COALESCE function to serve your requirement for null checking in HANA SQL Script. NULLIF Function NULLIF (expression1, expression2): This function will return the same type whatever is specified as the first expression. Basically, NULLIF returns − The first expression if the two expressions are not equal. ...

Read More

Why use IBM Worklight if it ultimately uses PhoneGap for HTML support?

Smita Kapse
Smita Kapse
Updated on 13-Mar-2026 179 Views

IBM Worklight (now known as IBM MobileFirst Platform) is a full enterprise mobile development platform, while PhoneGap (Apache Cordova) is a library focused on wrapping web applications into native mobile containers. Although both provide HTML5 and CSS support for building hybrid mobile apps, Worklight offers many additional enterprise features that PhoneGap alone cannot provide. What Is PhoneGap? PhoneGap is a software development framework originally created by Nitobi and later acquired by Adobe Systems. It allows developers to build mobile applications using web technologies like HTML, CSS, and JavaScript instead of native programming languages. PhoneGap wraps the web application in a ...

Read More

How to use the Glyphicons icons in Bootstrap

Smita Kapse
Smita Kapse
Updated on 11-Mar-2026 1K+ Views

To use the Glyphicons icon in Bootstrap, use the following code just about anywhere in your code. Leave a space between the icon and text for proper padding like −Example         Bootstrap Example                                     You can try to run the following code to implement the Glyphicons icons:Example           Bootstrap Example                                 The following are the icons:                                                                                                                

Read More

Comparison of Exception Handling in C++ and Java

Smita Kapse
Smita Kapse
Updated on 11-Mar-2026 374 Views

The exception handling feature is present almost any object oriented languages nowadays. In C++ and Java also we can get this kind of feature. There are some similarities between exception handling in C++ and exception handling in Java, like in both languages we have to use the try-catch block. Though there are some difficulties also. These are like below −In C++, we can throw any type of data as exception. Any type of data means primitive datatypes and pointers also. In Java we can only throw the throwable objects. Subclasses of any throwable class will also be throwable.Example#include using ...

Read More

isnormal() in C++

Smita Kapse
Smita Kapse
Updated on 11-Mar-2026 174 Views

In this section we will see the isnormal() function in C++. This function is present in the cmath library. This function is used to check whether a number is normal or not. The numbers that are considered as non-normal are zeros, infinity or NAN.This function takes float, double or long double values as argument. Returns 1 if the number is normal, otherwise returns 0.Example#include #include using namespace std; int main() {    cout

Read More

Bind function and placeholders in C++

Smita Kapse
Smita Kapse
Updated on 11-Mar-2026 2K+ Views

Here we will see the Bind function and the placeholders in C++. Sometimes we need to manipulate the operation of some functions as we need. We can use some default parameters to get some essence of manipulating.In C++11, one new feature is introduced, called the bind function. This helps us to do such manipulating in some easier fashion. To use these features, we have to use header file.Bind functions with the help of placeholders helps to determine the positions, and number of arguments to modify the function according to desired outputs.Placeholders are namespaces which detect the position of a ...

Read More

IntStream sum() method in Java

Smita Kapse
Smita Kapse
Updated on 11-Mar-2026 285 Views

The sum() method of the IntStream class is used in Java to return the sum of elements in this stream.The syntax is as follows −int sum()To work with the IntStream class in Java, import the following package −import java.util.stream.IntStream;Create IntStream and add some elements −IntStream intStream = IntStream.of(50, 100, 150, 200, 250, 300);Now, return the sum of elements in the IntStream added above −int sumVal = intStream.sum();The following is an example to implement IntStream sum() method in Java −Exampleimport java.util.stream.IntStream; public class Demo {    public static void main(String[] args) {       IntStream intStream = IntStream.of(50, 100, ...

Read More

DoubleStream mapToObj() method in Java

Smita Kapse
Smita Kapse
Updated on 11-Mar-2026 289 Views

The mapToObj() method of the DoubleStream class returns an object-valued Stream consisting of the results of applying the given function to the elements of this stream.The syntax is as follows − Stream mapToObj(DoubleFunction

Read More

The equals() method of AbstractSequentialList in Java

Smita Kapse
Smita Kapse
Updated on 11-Mar-2026 176 Views

The equals() method is inherited from the AbstractList class in Java. It is used to check the object for equality with this list. It returns TRUE if the object is equal to this list, else FALSE is returned.The syntax is as follows −public boolean equals(Object o)Here, o is the object to be compared for equality with this list.To work with the AbstractSequentialList class in Java, you need to import the following packageimport java.util.AbstractSequentialList;The following is an example to implement AbstractSequentialList equals() method in JavaExampleimport java.util.LinkedList; import java.util.AbstractSequentialList; public class Demo {    public static void main(String[] args) {   ...

Read More
Showing 161–170 of 388 articles
« Prev 1 15 16 17 18 19 39 Next »
Advertisements