Difference between Work area, global structure and internal table in SAP ABAP

Sravani S
Published on 27-Dec-2017 10:48:42
Internal tables let you read data from a fixed structure and stores it in-memory (working memory) in ABAP. The data is stored in a sequential manner in memory. They are basically equivalent to arrays but dynamic in nature. Since they are dynamic in nature, memory management is already taken care ... Read More

Can an anonymous class have constructors in Java?

Published on 03-Jan-2018 05:34:22
A constructor should have the name same as the class. Since anonymous inner class has no name, an anonymous inner class cannot have an explicit constructor in Java. But, Java compiler internally creates a constructor for the anonymous class.

What does import Java.util.* in Java do?

Published on 29-Dec-2017 07:21:29
Java util package contains collection framework, collection classes, classes related to date and time, event model, internationalization, and miscellaneous utility classes. On importing this package, you can access all these classes and methods.Following table lists out the classes in the collection package.InterfacesDescriptionClassesCollectionCollection Interface represents a group of objects. It is ... Read More

How are anonymous (inner) classes used in Java?

Published on 03-Jan-2018 05:33:28
An inner class declared without a class name is known as an anonymous inner class. we declare and instantiate them at the same time. In general, they are used whenever you need to override the method of a class or an interface. Syntax AnonymousInner an_inner = new ... Read More

How to create and use a named pipe in Python?

Rajendra Dharmkar
Published on 26-Dec-2017 10:11:20
FIFOs are pipes that can be accessed like regular files. FIFOs exist until they are deleted (for example with os.unlink()). Generally, FIFOs are used as rendezvous between “client” and “server” type processes: the server opens the FIFO for reading, and the client opens it for writing. Note that mkfifo() doesn’t ... Read More

Checking number of rows in an internal table in SAP

Ramu Prasad
Published on 27-Dec-2017 10:56:26
You can use the LINES function to get the number of rows in an internal table.Use the following syntax to call the function:DESCRIBE TABLE <Internal Table Name> LINES <Variable Name>Once the function is executed the variable will hold the number of rows in the internal table.Read More

What is a final method in Java?

Published on 03-Jan-2018 05:28:08
The final modifier for finalizing the implementations of classes, methods, and variables. We can declare a method as final, once you declare a method final it cannot be overridden. So, you cannot modify a final method from a sub class. The main intention of making a method final would be ... Read More

What is a final method in Java?

Vrundesha Joshi
Published on 02-Feb-2018 07:55:37
A final method cannot be overridden by any subclasses. As mentioned previously, the final modifier prevents a method from being modified in a subclass.The main intention of making a method final would be that the content of the method should not be changed by an outsider.ExampleYou declare methods using the ... Read More

What is a Java class library?

Published on 29-Dec-2017 07:11:35
Java is not dependent on any specific operating system so Java applications cannot depend on the platform dependent native libraries, therefore, instead of those Java provides a set of dynamically loaded libraries that are common to modern operating systems.These libraries provide –Container classes and Regular Expressions.Interfaces for tasks that depend ... Read More

what are abstract methods in Java?

Published on 03-Jan-2018 05:26:17
An abstract method is the one which has no definition and declared abstract.In short, an abstract method contains only method signature without a body. To use this method, you need to inherit this method by extending the class and provide the method definition.Examplepublic abstract class Employee{    private String name; ... Read More