karthikeya Boyini

karthikeya Boyini

1,421 Articles Published

Articles by karthikeya Boyini

Page 142 of 143

HTML5 & JavaScript: resolution or size of <input type=file capture=camera>

karthikeya Boyini
karthikeya Boyini
Updated on 30-Jul-2019 795 Views

When the device is taking very large photos and we want to make such setting to take smaller photos from the mobile phone, then we can use two W3C ways of taking pictures.This can be done either through HTML or through JavaScript.HTML Media CaptureFor this, HTML uses capture and accept=”image/* ” on input tag .This will specify intend.However, through this way, we cannot specify the sizeMedia capture streamsIt allows fully programmatic access to the camera so that user can implement own capture dialogue for videos and still images.It also specifies constraints related to width, height, frame rate, facing rate, facing ...

Read More

Difference between specification and recommendation that introduced CSS

karthikeya Boyini
karthikeya Boyini
Updated on 30-Jul-2019 366 Views

The CSS Working Group creates documents called specifications. When a specification has been discussed and officially ratified by W3C members, it becomes a recommendation.These ratified specifications are called recommendations because the W3C has no control over the actual implementation of the language. Independent companies and organizations create that software.The World Wide Web Consortium or W3C is a group that makes recommendations about how the Internet works and how it should evolve.

Read More

How do Python dictionary hash lookups work?

karthikeya Boyini
karthikeya Boyini
Updated on 30-Jul-2019 491 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 is encountered, it starts the collision resolution algorithm to find the actual value.This causes dictionaries to take up more space as they are sparse.

Read More

Difference between C++ string constants and character constants

karthikeya Boyini
karthikeya Boyini
Updated on 30-Jul-2019 931 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[] and refers to an array of size length of string + 1. That extra character is there for marking the string's ending.String literals can be arbitrarily long, such as "abcdefg". Character literals almost always contain just a single character. When these are being printed, string literals are printed till the ...

Read More

Can interfaces have constructors in Java?

karthikeya Boyini
karthikeya Boyini
Updated on 30-Jul-2019 794 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 { InterfaceTest(){ } public abstract void display(); public abstract void show(); } Error C:\Sample>javac InterfaceTest.java InterfaceTest.java:2: error: expected public InterfaceTest(){ ^ 1 error

Read More

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

karthikeya Boyini
karthikeya Boyini
Updated on 30-Jul-2019 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.

Read More

Identify required fields for an MB01 transaction in SAP

karthikeya Boyini
karthikeya Boyini
Updated on 30-Jul-2019 352 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 still require movement type for your system. You can check it out with your infrastructure team to help you identify the movement type. Once you know the movement type, you will require other details like material number and others for more details. But that can be determined with minimal efforts. ...

Read More

Invoke a Web service from AJAX in SAP application

karthikeya Boyini
karthikeya Boyini
Updated on 30-Jul-2019 325 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 seek help from the ABAP person who would be exposing the service to fetch the WSDL file for all the details about the service.Once you have the WSDL, you can frame the request object with all required input parameters to make an AJAX call.

Read More

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

SAP
karthikeya Boyini
karthikeya Boyini
Updated on 30-Jul-2019 137 Views

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

Read More

What is the Thread class in Java?

karthikeya Boyini
karthikeya Boyini
Updated on 30-Jul-2019 486 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 priority.Each thread may or may not also be marked as a daemon.There are two ways to create a new thread of execution.One is to declare a class to be a subclass of Thread.Another way to create a thread is to declare a class that implements the Runnable interface.

Read More
Showing 1411–1420 of 1,421 articles
Advertisements