Karthikeya Boyini has Published 2383 Articles

How do Python dictionary hash lookups work?

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:22

285 Views

Dicts are hash tables. No tree searching is used. Looking up a key is a nearly constant time(Amortized constant) operation, regardless of the size of the dict. It creates the hash of the key, then proceeds to find the location associated with the hashed value. If a collision listed address ... Read More

Difference between C++ string constants and character constants

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:21

535 Views

In C++, a character in single quotes is a character literal. It's of type char. For example, 'a' is of type char with a value 97 on an ASCII based system.A character or a string of characters together in double quotes represent a string literal. It's of type const char[] ... Read More

Can interfaces have constructors in Java?

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:20

538 Views

No, interfaces can’t have constructors for the following reasons − All the members of an interface are abstract, and since a constructor cannot be abstract. Still, if you try to write a constructor within an interface it will generate a compile time error. Example public interface InterfaceTest ... Read More

What are annotations in Java?

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:20

518 Views

Annotations are a tag (metadata) which provides info about a program. Annotations in Java Start with the symbol ‘@’. They are used by the compiler to detect errors. Software tools to generate code. They are used to show attributes of an element: e.g. @Deprecated, @Override. Annotation are used to ... Read More

What is the difference between abstraction and encapsulation in Java?

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:20

684 Views

As per dictionary, abstraction is the quality of dealing with ideas rather than events. For example, when you consider the case of e-mail, complex details such as what happens as soon as you send an e-mail, the protocol your e-mail server uses are hidden from the user. Therefore, to send ... Read More

What is the difference between Component class and Container class in Java?

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:20

4K+ Views

The class Component is the abstract base class for the non-menu user-interface controls of AWT. A component represents an object with graphical representation. The class Container is the superclass for the containers of AWT. The container object can contain other AWT components.

Identify required fields for an MB01 transaction in SAP

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:20

193 Views

As you have mentioned that you have access to SAP system. The solution lies within. Specify the transaction SE37 and mention the BAPI call that you have identified. It will navigate you to proper documentation of the call.But in order for that documentation to be of any help, you will ... Read More

Invoke a Web service from AJAX in SAP application

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:20

176 Views

It does not change much in SAP. How you have been doing in other projects like .NET or other, you need to incorporate the same.You need to send a POST or GET request to the intended service with the help of URL.In order to get the URL, you need to ... Read More

Is it possible to exclude subclasses from the results displayed in backoffice in SAP?

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:20

64 Views

You can uncheck the option - Include subtypes in a search bar and this will only give you the results of the parent type.

What is the Thread class in Java?

karthikeya Boyini

karthikeya Boyini

Updated on 30-Jul-2019 22:30:20

290 Views

The java.lang.Thread class is a thread of execution in a program. The Java Virtual Machine allows an application to have multiple threads of execution running concurrently. Following are the important points about Thread −Every thread has a priority. Threads with higher priority are executed in preference to threads with lower ... Read More

Advertisements