Vanithasree has Published 80 Articles

What are the prerequisites for learning Java?

vanithasree

vanithasree

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

1K+ Views

In fact, you can directly start learning Java without any prior knowledge of programming language. But, the syntax in Java is similar to the syntax of the C programming language, therefore, Knowing C language helps to get hold of Java quickly. Having introduced to object-oriented principles before starting Java, also ... Read More

Need to schedule script in PowerShell from SAP

vanithasree

vanithasree

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

233 Views

I had experienced a similar issue and it was because the scheduler did not have permissions of the file. The scheduler is unable to read the contents basically the login credentials from the file.As a work around what I did was I created a separate job altogether to capture the ... Read More

What is meant by Java being platform-independent?

vanithasree

vanithasree

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

373 Views

When you compile Java programs using javac compiler it generates bytecode. We need to execute this bytecode using JVM (Java Virtual machine) Then, JVM translates the Java bytecode to machine understandable code.You can download JVM’s (comes along with JDK or JRE) suitable to your operating system and, once you write ... Read More

Updating Data source of provider by REST API in SAP

vanithasree

vanithasree

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

204 Views

I think you are missing the basic part over here. You have modified the document but you need to save it too.If you would have noticed after you had made changes to the document. Its state would have been updated to ‘Modified’ from the previous state which could be ‘Unused’ ... Read More

Multiple ALV grids on a single screen in SAP ABAP

vanithasree

vanithasree

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

1K+ Views

It is not possible to resize or place the grid at the particular position using function modules as ALVs are always displayed in the Fullscreen by using function modules.One of the method this can be done is that you create a screen using custom container and then use the class ... Read More

What is the difference between /* */ and /** */ comments in Java?

vanithasree

vanithasree

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

751 Views

Multiline comments (/* */) are used to comment multiple lines in the source code. Example Live Demo public class CommentsExample { /* Following is the main method here, We create a variable named ... Read More

Are there inline functions in Java?

vanithasree

vanithasree

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

4K+ Views

If a function is inline, the compiler places a copy of the code of that function at each point where the function is called at compile time. Any change to an inline function could require all clients of the function to be recompiled because compiler would need to replace all ... Read More

How do I write constants names in Java?

vanithasree

vanithasree

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

722 Views

While writing the name of the constants it is suggested to write all the letters in upper case. If constant contains more than one word they should be separated by underscore (_). Example Live Demo public class ConstantsTest { public static final int ... Read More

What is the difference between simple name, canonical name and class name in a Java class?

vanithasree

vanithasree

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

3K+ Views

Canonical name of a Java class is the name of the class along with the package. For example, the canonical name of the class File is java.io.File. You can also get the canonical name of a particular class using Java method. The class named Class provides a method getCanonicalName(), this ... Read More

What is the number wrapper class and its methods in Java?

vanithasree

vanithasree

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

471 Views

The Number class (abstract) of the java.lang package represents the numeric values that are convertible to primitive types byte, double, float, int, long, and short. Following are the method provided by the Number class of the java.lang package. Sr.No Method & Description 1 byte byteValue() This ... Read More

Previous 1 ... 4 5 6 7 8
Advertisements