Radhakrishna has Published 93 Articles

How can we know about the starting range of TIMESTAMP data type with the help of MySQL FROM_UNIXTIME() function?

radhakrishna

radhakrishna

Updated on 28-Jan-2020 10:43:55

54 Views

As we know that this function converts a number of seconds into TIMESTAMP value. So by providing 0 seconds as the argument, it will give us the starting range of TIMESTAMP data type.mysql> Select FROM_UNIXTIME(0); +-------------------------+ | FROM_UNIXTIME(0)        | +-------------------------+ | 1970-01-01 05:30:00     | +-------------------------+ ... Read More

What is super() function in JavaScript?

radhakrishna

radhakrishna

Updated on 08-Jan-2020 10:55:23

189 Views

Use the super() function to call the constructor of the parent class and access functions on an object's parent class.ExampleYou can try to run the following code to implement super()Live Demo                    class Department {           ... Read More

Is JavaScript a case sensitive language?

radhakrishna

radhakrishna

Updated on 02-Jan-2020 09:51:50

3K+ Views

JavaScript is a case-sensitive language. This means that the language keywords, variables, function names, and any other identifiers must always be typed with a consistent capitalization of letters.So the identifiers Time and TIME will convey different meanings in JavaScript.NOTE − Care should be taken while writing variable and function names in JavaScript.ExampleThe ... Read More

What is the difference between non-static methods and abstract methods in Java?

radhakrishna

radhakrishna

Updated on 19-Dec-2019 06:36:11

1K+ Views

Following are the notable differences between non-static methods and abstract methods.Non-static (normal) methodsAbstract methodsThese methods contain a body.Abstract methods don’t have body these are ended with a semicolonYou can use normal method directly.You cannot use abstract methods directly, to use them you need to inherit them and provide body to ... Read More

Getting Error while calling XBP Function Module via SAP.net connector

radhakrishna

radhakrishna

Updated on 10-Dec-2019 09:03:22

60 Views

Note that you need to execute function call in a single session so you have to wrap your logic into JCoContext. Try using below method:try {    JCoContext.begin(destination);    try {       // your function calls here       // probably bapiTransactionCommit.execute(destination);    } catch(AbapException ex) { ... Read More

How to enable JavaScript in Internet Explorer (IE)?

radhakrishna

radhakrishna

Updated on 30-Sep-2019 07:53:07

360 Views

To enable JavaScript in Internet Explorer (IE), follow the below-given steps:Click the gear icon on the right-hand side:Now, a dialog box will open. Go to Security tab and click Custom level.After reaching the Security Settings, go to Scripting, then Active Scripting.Click Enable to enable JavaScript and press Ok.Now, JavaScript will ... Read More

How to detect if JavaScript is disabled in a browser?

radhakrishna

radhakrishna

Updated on 12-Sep-2019 08:46:00

6K+ Views

To detect if JavaScript is disabled in a web browser, use the tag. The HTML tag is used to handle the browsers, which do recognize tag but do not support scripting. This tag is used to display an alternate text message.Here’s an example,       ... Read More

What is the difference between comments /*...*/ and /**...*/ in JavaScript?

radhakrishna

radhakrishna

Updated on 12-Sep-2019 08:35:18

450 Views

/*…*/ and /**…*/ are multi-line comments. The following is a multi line comment in JavaScript./*    * This is a multiline comment in JavaScript    * It is very similar to comments in C Programming */The following example shows how to use multi-line comments in JavaScript.     The comment ... Read More

What is the difference between Java and Core Java?

radhakrishna

radhakrishna

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

703 Views

Java is a programming language, whereas Core Java is a computing platform. Java Platform Standard Edition is Core Java, which is also called Java SE. The following are the computing following supported by Java, which also has Core Java as its part:Java SE Java Standard Edition used to develop desktop applications. ... Read More

Why can't static method be abstract in Java?

radhakrishna

radhakrishna

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

2K+ Views

A static method belongs to class not to object instance thus it cannot be overridden or implemented in a child class. So there is no use of making a static method as abstract.

Advertisements