Prabhas has Published 95 Answers

What is the difference between keywords and reserved words in Java?

Prabhas

Prabhas

Updated on 18-Feb-2020 11:11:37

KeywordsKeywords in Java convey a special meaning to the compiler therefore, these cannot be used as identifiers. Java provides a set of 50 keywords.abstractcontinuefornewswitchassertdefaultgotopackagesynchronizedbooleandoifprivatethisbreakdoubleimplementsprotectedthrowbyteelseimportpublicthrowscaseenuminstanceofreturntransientcatchextendsintshorttrycharfinallongstrictfpvolatileconstfloatnativesuperwhileReserved wordsAmong the list of key words list mentioned above the key words goto and const are currently not in use. They are reserved words (for the ... Read More

What is a classloader in Java?

Prabhas

Prabhas

Updated on 18-Feb-2020 10:46:23

Java Virtual machine is the program which accepts .class files as input and converts this to system executable code.The class loader is a module in JVM it loads, links and, initialize a program.Loads the class into the memory.Verifies the byte code instructions.Allocates memory for the program.Read More

How can we compare data in two MySQL tables?

Prabhas

Prabhas

Updated on 14-Feb-2020 11:09:29

Sometimes we need to identify the unmatched data from two tables, especially in the case when data is migrated. It can be done by comparing the tables. Consider the example below in which we have two tables named ‘students’ and ‘student1’.mysql> Select * from students; +--------+--------+----------+ | RollNo | Name ... Read More

Read a date filter as input in WEBI report in SAP BO

Prabhas

Prabhas

Updated on 14-Feb-2020 08:03:12

Your requirement is one of its kinds but can be achieved. What you can try out is first create a brand new object in the context. Let's say you provided the date as first input and 5 as a weekly slice in the second input. [Date+5]=DATEADD(@prompt('Slice', 'X'{'Day', 'Month', 'Year'}, mono, constrained, persistent), ... Read More

Field not getting save from table to transparent table in SAP

Prabhas

Prabhas

Updated on 13-Feb-2020 12:27:32

What I can understand from the problem is not type mismatch but the mismatch in size as defaults are different for each. If you change the size as per your needs, it should work.

Fetch the modified date of table in SAP HANA

Prabhas

Prabhas

Updated on 13-Feb-2020 11:44:58

 I think if you would have done some easy research or gone through the available documentation, then you would have got the answer. The reason being you already know the partial answer (SQL example as you said).In SAP HANA database, we have an analogous table “SYS.M_TABLE_STATISTICS”. Just query the table for ... Read More

Specified cast not valid for datetime while using SAP RFC

Prabhas

Prabhas

Updated on 13-Feb-2020 11:16:35

I think you better use the ParseExact method available over DateTime type. It should work.Please find the code snippet for reference −string dateFormat = "dd.mm.yyyy hh:mm:tt"; DateTime finalDate = DateTime.ParseExact(argumentDate, dateFormat, CultureInfo.InvariantCulture);

Method overloading v/s method overriding in Java

Prabhas

Prabhas

Updated on 06-Feb-2020 06:23:23

Method overloading is a type of compile-time polymorphism whereas method overriding is a type of runtime polymorphism.Method overloading increases code readability whereas method overriding provides a specific implementation of the method in a subclass to supersede the one present in the superclass.Method overloading is within a class where method overriding ... Read More

What is the use of escape character () in text file while importing the data from text file to MySQL table?

Prabhas

Prabhas

Updated on 04-Feb-2020 06:14:32

Use of escape character (\) would become very essential when we want to insert a comma or any other character between the values of a filed. It can be understood with the help of an example. Suppose we want to import the data from a text file named A.txt, having ... Read More

Convert text to uppercase with CSS

Prabhas

Prabhas

Updated on 31-Jan-2020 06:24:09

To convert text to uppercase with CSS, use the text-transform property with value uppercase.ExampleYou can try to run the following code to convert text to uppercase:                   Normal Text                Normal Text! This will be in uppercase!          

Advertisements