Giri Raju has Published 114 Answers

Should I include type=“text/javascript” in my SCRIPT tags?

Giri Raju

Giri Raju

Updated on 12-Sep-2019 08:38:14

The type attribute in JavaScript is optional since the introduction of HTML5 brought some new improvements. JavaScript became the default language for HTML5 and modern browsers. So, now adding text/javascript isn’t required in <script> tag.This attribute is what is now recommended to indicate the scripting language in use and its ... Read More

How do we compare String in Java

Giri Raju

Giri Raju

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

https://www.tutorialspoint.com/javaexamples/string_compare.htm

Difference between declaring a variable before or in a Java loop.

Giri Raju

Giri Raju

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

Performance wise, there is hardly any difference. But it is good to keep a variable local to the scope it is used. So declaring a variable inside Java loop is generally preferred.

What are the complexities MySQL joins involve?

Giri Raju

Giri Raju

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

Actually, in simple words, we can say that a join between tables is an extension of a single-table SELECT statement but it involves the additional complexities:Need to specify all the tablesWe need to specify all the tables in FROM clause which are involved in the join. It is in contrast ... Read More

Using method “DUMPSETSET_GET_ENTITYSET” in SAP FM

Giri Raju

Giri Raju

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

Note that you need to map GetEntitySet to a data source from SEGW - SAP Gateway Service Builder and you will be able to generate runtime objects.For more details you can refer to this link:https://blogs.sap.com/2012/10/26/step-by-step-guide-to-build-an-odata-service-based-on-rfcs-part-1/

What is Java Programming?

Giri Raju

Giri Raju

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

Java is a general-purpose high-level programming language originally developed by Sun Micro systems and released in 1995. Java runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.James Gosling initiated Java language project in June 1991 for use in one of his many ... Read More

How to call one constructor from another in Java?

Giri Raju

Giri Raju

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

You can call one constructor from another using this(). Example This is a default constructor This is parameterized constructor Live Demo public class Sample { int num; public Sample() { System.out.println("This is default constructor"); ... Read More

How to find the version of Java using command line?

Giri Raju

Giri Raju

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

You can find the version of the Java software currently installed in your system using Programs and using Command prompt. Using Command prompt The -version command of the java command prompt gives you the current version of the Java software installed in your system. Therefore, open command prompt and type ... Read More

What are abstract classes in Java?

Giri Raju

Giri Raju

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

A class which contains the abstract keyword in its declaration is known as abstract class. Abstract classes may or may not contain abstract methods, i.e., methods without body ( public void get(); ) But, if a class has at least one abstract method, then the class must be declared ... Read More

Handling higher level Boolean values in SAP system

Giri Raju

Giri Raju

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

As per the general standards and coding practice, you should use abap_bool for handling Boolean value or truth values. In this case, if any object is declared as abap_bool type, then it can hold values only from the set (abap_truth, abap_false and abap_undefined). But in older systems, you might not ... Read More

Advertisements