Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Articles by Nikitha N
Page 6 of 6
What does the method add(E element) do in java?
The add(E e) method of the java.util.ArrayList class appends the specified element E to the end of the list.Example:import java.util.ArrayList; public class ArrayListDemo { public static void main(String[] args) { ArrayList arrlist = new ArrayList(5); arrlist.add(15); arrlist.add(20); arrlist.add(25); for (Integer number : arrlist) { System.out.println("Number = " + number); } } }Output:Number = 15 Number = 20 Number = 25
Read MoreHow to synchronize an ArrayList in Java?
The synchronizedList(List list) method of the Collections class accepts a List object and returns a synchronized list backed by the specified list.Example:import java.util.ArrayList; import java.util.Collections; import java.util.LinkedHashSet; import java.util.Set; public class ArrayListSample { public static void main(String[] args){ ArrayList list = new ArrayList(); list.add("JavaFx"); list.add("Java"); list.add("WebGL"); list.add("OpenCV"); Set set = new LinkedHashSet(list); Collections.synchronizedList(list); System.out.println(list); } }Output:[JavaFx, Java, WebGL, OpenCV]
Read MoreError while creating a PO in SAP system from a .NET application
Below is the correct sequence to invoke Function Module for automatic OP generation:ME_REFRESH_PO onceME_CREATE_PO_HEADER onceME_CREATE_PO_ITEM n timesME_POST_PO onceIn case you don’t follow this sequence, it may result in data inconsistencies.
Read MoreCustomizing SAP ERP industry specific
SAP provides a lot of offerings which are industry specifics and can be altered/ modified within limits to serve the purpose. Offerings include industries ranging from Sales, HR, Plant maintenance and others. One can customize the existing system to serve the needs but the customization is not extensive and basically revolves around a change in settings, altering configuration tables and adding custom things.You can develop custom things to serve a requirement which is out of the box. SAP provides a complete development environment. The same environment is used to develop the standard offerings so we can create our own custom ...
Read More