Usharani has Published 93 Answers

How many packages and classes are there in Java Standard Edition 8?

usharani

usharani

Updated on 18-Feb-2020 10:48:17

Java Standard Edition provides 14 packages namely –applet − This package provides classes and methods to create and communicate with the applets.awt− This package provides classes and methods to create user interfaces.beans− This package contains classes and methods to develop components based on java beans. io− This package contains classes and ... Read More

Getting age of tracefiles in SAP HANA database

usharani

usharani

Updated on 13-Feb-2020 12:40:44

In SAP HANA database, you have diagnosis files include log and trace files, a mixture of other diagnosis, error, and information files.These files can be checked for diagnosis to find errors in SAP Hana database.In HANA db, you have trace files stored separated per host, so to get access to ... Read More

Use of String.compare for a varchar field in SAP

usharani

usharani

Updated on 13-Feb-2020 12:36:25

Try to use SqlFunctions.DateDiff method overload which requires 3 inputs as follows −var res = from a in db.Set<table1>() where SqlFunctions.DateDiff("dd", a.Date, "20161922") >= 0 && SqlFunctions.DateDiff("dd", a.Date, "20161122") < 0 select a

Interface in Java

usharani

usharani

Updated on 06-Feb-2020 07:46:51

An interface is a reference type in Java. It is similar to a class. It is a collection of abstract methods. A class implements an interface, thereby inheriting the abstract methods of the interface.Along with abstract methods, an interface may also contain constants, default methods, static methods, and nested types. ... Read More

Usage of direction property in CSS

usharani

usharani

Updated on 31-Jan-2020 06:03:46

The direction property is used to set the text direction. Possible values are ltr or rtl.ExampleYou can try to run the following code to set the text direction with CSS:<html>    <head>    </head>    <body>       <p style = "direction:rtl;">          This text will ... Read More

Usage of font-size property in CSS

usharani

usharani

Updated on 30-Jan-2020 10:22:35

The font-size property is used to increase or decrease the size of a font. The font-size property is used to control the size of fonts. Possible values could be xx-small, x-small, small, medium, large, x-large, xx-large, smaller, larger, size in pixels or in %.<html>    <head>    </head>    <body> ... Read More

CSS Measurement Units

usharani

usharani

Updated on 30-Jan-2020 08:25:48

CSS supports a number of measurements including absolute units such as inches, centimeters, points, and so on, as well as relative measures such as percentages and em units. You need these values while specifying various measurements in your Style rules.The following are the CSS Measurement Units along:UnitDescriptionExample%Defines a measurement as ... Read More

Group Selectors in CSS

usharani

usharani

Updated on 30-Jan-2020 07:57:12

You can apply a style to many selectors if you like. Just separate the selectors with a comma, as given in the following example:h1, h2, h3 {    color: #36C;    font-weight: normal;    letter-spacing: .4em;    margin-bottom: 1em;    text-transform: lowercase; }This defined style rule will be applicable to ... Read More

How does MySQL handle out of range numeric values?

usharani

usharani

Updated on 30-Jan-2020 06:59:14

Handling of MySQL numeric value that is out of allowed range of column data type depends upon the SQL mode in following ways −(A) Enabled SQL strict mode - When strict SQL mode is enabled, MySQL returns the error on entering the put-of-range value. In this case, the insertion of some ... Read More

How can we fetch month and day from a given date in MySQL?

usharani

usharani

Updated on 30-Jan-2020 05:37:11

It can be done inflowing two ways −(A) With the help of EXRACT() function - EXTRACT() function can fetch any part from MySQL TIMESTAMP value. Following is the example of fetching month and day from a given date.mysql> Select EXTRACT(Month from '2017-10-22') AS 'MONTH'; +-------+ | MONTH | +-------+ | ... Read More

Advertisements