Articles on Trending Technologies

Technical articles with clear explanations and examples

How to count unique elements in the array using java?

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

The interface Set does not allow duplicate elements, therefore, create a set object and try to add each element to it using the add() method in case of repetition of elements this method returns false − If you try to add all the elements of the array to a Set, it accepts only unique elements − Example import java.util.Arrays; import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class CountingUniqueElements { public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.println("Enter the size ...

Read More

Why the main method has to be in a java class?

usharani
usharani
Updated on 30-Jul-2019 451 Views

Main method is the entry point of the execution in Java. When we execute a class JVM searches for the main method and execute the contents of it line by line. If you observe the following example you can compile a this program but if you try to execute it you will get an error saying “Main method not found”. Example abstract class SuperTest { public abstract void sample(); public abstract void demo(); } public class Example extends SuperTest{ public void sample(){ System.out.println("sample method ...

Read More

Resource routing not working when using SAP Fiori

Vrundesha Joshi
Vrundesha Joshi
Updated on 30-Jul-2019 299 Views

The issue you are facing is because you have created both the applications with the same ID. Hence, the Launchpad is not able to distinguish between them and load into the context.You can change the application Id and all the references of the same to resolve the issue you are facing.Facing issue with SAP JCO server connectivity when system out of network.

Read More

When a thread is created and started, what is its initial state?

Samual Sam
Samual Sam
Updated on 30-Jul-2019 591 Views

When a new thread begins its life cycle in the new state. It remains in this state until the program starts the thread. It is also referred to as a born thread.After this newly born thread is started, the thread becomes runnable. A thread in this state is considered to be executing its task.

Read More

What is Agentry Toolkit in SAP Mobile Platform SMP 3.0 SDK? How do you use it in an application?

Monica Mona
Monica Mona
Updated on 30-Jul-2019 223 Views

Agentry toolkit provides various SDK’s to integrate with the various mobile component. With Agentry toolkit, you have a plugin to Eclipse that allows you to create modify Agentry applications.To know more about Agentry toolkit, you can refer the below SAP link:https://help.sap.com/doc/f1944845cb7b4cb886ebfbd5fa720c64/3.0.14/en-US/7c03a69470061014a336f33ca4dd4413.html

Read More

List of Best JavaScript libraries?

Ramu Prasad
Ramu Prasad
Updated on 30-Jul-2019 311 Views

The following are some of the best JavaScript Libraries:jQueryjQuery is a fast and concise JavaScript Library created by John Resig in 2006 with a nice motto – “Write less, do more”. jQuery simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.MooToolsMooTools is an object-oriented, lightweight JavaScript framework. The full form of MooTools is My Object-Oriented Tools. It is released under the free, open-source MIT License. It is one of most popular JavaScript libraries. MooTools is a powerful, lightweight JavaScript library. It creates an easy interaction of JavaScript in web development. It can also do many ...

Read More

Error while using enter "!" on selection screen in SAP.

SAP
Samual Sam
Samual Sam
Updated on 30-Jul-2019 226 Views

Note that “!” this character removes all characters in the field before data is transported. So you get error message cos of this.

Read More

List of Best JavaScript Frameworks?

Govinda Sai
Govinda Sai
Updated on 30-Jul-2019 280 Views

AngularJSAngularJS is an open source web application framework. It was originally developed in 2009 by Misko Hevery and Adam Abrons. AngularJS is now maintained by Google.Backbone.jsBackboneJS is a lightweight JavaScript library that allows to develop and structure the client side applications that run in a web browser. It offers MVC framework which abstracts data into models, DOM into views and bind these two using events.Ember.jsEmber.js is an open source, free JavaScript client-side framework used for developing web applications. Ember.js allows building client side JavaScript applications by providing a complete solution which contains a data management and an application flow.The original ...

Read More

Explain the difference between getColumnHeaders(), getColumnNames() and getColumnTitles() in SAP?

SAP
Sai Subramanyam
Sai Subramanyam
Updated on 30-Jul-2019 327 Views

getColumnHeaders() − This function is used to return all the columns which are theoretically available. getColumnNames() − This function is used to return a list of columns displayed in a tree getColumnTitles() − This function returns same number of columns as returned by getColumnHeaders()

Read More

What is the difference between JavaScript frameworks?

Abhinaya
Abhinaya
Updated on 30-Jul-2019 256 Views

The following is the comparison of some JavaScript Frameworks:AngularJSDojoEmber.jsGoogle Web ToolkitDrag & Drop FunctionalityNoYesNoYes, but only with plugins.Provides Simple Visual EffectsYesYesNoYesProvides Rich Text EditorNoYesNoYesSupport For CanvasNoYesNoYesSupport For CanvasNoYesNoYes

Read More
Showing 61121–61130 of 61,248 articles
Advertisements