Karthikeya Boyini has Published 2383 Articles

Commercial Database

karthikeya Boyini

karthikeya Boyini

Updated on 18-Jun-2020 15:53:55

1K+ Views

These are the paid versions of the huge databases designed uniquely for the users who want to access the information for help. These databases are subject specific, and one cannot afford to maintain such a huge information. Access to such databases is provided through commercial links.

Operational Database

karthikeya Boyini

karthikeya Boyini

Updated on 18-Jun-2020 15:53:04

433 Views

Information related to operations of an enterprise is stored inside this database. Functional lines like marketing, employee relations, customer service etc. require such kind of databases.

Cloud Databases

karthikeya Boyini

karthikeya Boyini

Updated on 18-Jun-2020 15:52:33

2K+ Views

Now a day, data has been specifically getting stored over clouds also known as a virtual environment, either in a hybrid cloud, public or private cloud. A cloud database is a database that has been optimized or built for such a virtualized environment. There are various benefits of a cloud ... Read More

Graph Databases

karthikeya Boyini

karthikeya Boyini

Updated on 18-Jun-2020 15:51:29

1K+ Views

The graph is a collection of nodes and edges where each node is used to represent an entity and each edge describes the relationship between entities. A graph-oriented database, or graph database, is a type of NoSQL database that uses graph theory to store, map and query relationships.Graph databases are ... Read More

Are static local variables allowed in Java?

karthikeya Boyini

karthikeya Boyini

Updated on 18-Jun-2020 15:41:40

848 Views

Unlike C, C++, Java does not allow static local variables. The compiler will throw the compilation error.ExampleCreate a java class named Tester.Tester.javaLive Demopublic class Tester {    public static void main(String args[]) {       static int a = 10;    } }OutputCompile and Run the file to verify ... Read More

Personal database

karthikeya Boyini

karthikeya Boyini

Updated on 18-Jun-2020 15:35:20

968 Views

Data is collected and stored on personal computers which are small and easily manageable. The data is generally used by the same department of an organization and is accessed by a small group of people.

Conversion of Stream To Set in Java

karthikeya Boyini

karthikeya Boyini

Updated on 18-Jun-2020 15:28:33

2K+ Views

We can convert a stream to set using the following ways.Using stream.collect() with Collectors.toSet() method - Stream collect() method iterates its elements and stores them in a collection.collect(Collector.toSet()) method.Using set.add() method - Iterate stream using forEach and then add each element to the set.ExampleLive Demoimport java.util.*; import java.util.stream.Stream; import java.util.stream.Collectors; ... Read More

Assigning long values carefully in java to avoid overflow

karthikeya Boyini

karthikeya Boyini

Updated on 18-Jun-2020 15:24:22

192 Views

In case of having the operation of integer values in Java, we need to be aware of int underflow and overflow conditions. Considering the fact that in Java, The int data type is a 32-bit signed two's complement integer having a minimum value of -2, 147, 483, 648 and a ... Read More

Comparing enum members in Java

karthikeya Boyini

karthikeya Boyini

Updated on 18-Jun-2020 14:54:47

14K+ Views

The java.lang.Enum class is the common base class of all Java language enumeration types.Class DeclarationFollowing is the declaration for java.lang.Enum class -public abstract class Enum    extends Object       implements Comparable, SerializableWe can compare enum variables using the following ways.Using Enum.compareTo() method. compareTo() method compares this enum with ... Read More

Comparison of double and float primitive types in Java

karthikeya Boyini

karthikeya Boyini

Updated on 18-Jun-2020 14:50:29

569 Views

If we compare a float and a double value with .5 or .0 or .1235 (ending with 5 or 0), then == operator returns true, otherwise it will return false. See the below example.ExampleLive Demopublic class Tester {    public static void main(String[] args) {       double d1 ... Read More

Advertisements