Samual Sam has Published 2492 Articles

Bandwidth-Limited Signals

Samual Sam

Samual Sam

Updated on 19-Jun-2020 07:22:14

3K+ Views

Bandwidth The range of frequencies that are used for transmitting a signal without being substantially attenuated is called the bandwidth. It is calculated as the difference between the highest and the lowest frequencies. It is expressed in Hertz (Hz).For example, if the minimum frequency is 100 Hz and the maximum frequency ... Read More

NoSQL Databases

Samual Sam

Samual Sam

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

4K+ Views

These are used for large sets of distributed data. There are some big data performance issues which are effectively handled by relational databases, such kind of issues are easily managed by NoSQL databases. There are very efficient in analyzing large size unstructured data that may be stored at multiple virtual ... Read More

Early Database Models

Samual Sam

Samual Sam

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

197 Views

A database model determines the logical structure of a database and determines in which manner data can be stored, organized and manipulated on a fundamental basis. before the databases are designed, the only way to store data was are in file storage, which increases the complexity as programmers had to ... Read More

Assigning values to static final variables in java

Samual Sam

Samual Sam

Updated on 18-Jun-2020 15:45:03

723 Views

In java, a non-static final variable can be assigned a value at two places.At the time of declaration.In constructor.ExampleLive Demopublic class Tester {    final int A;    //Scenario 1: assignment at time of declaration    final int B = 2;    public Tester() {       //Scenario ... Read More

End User Database

Samual Sam

Samual Sam

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

1K+ Views

The end user is usually not concerned about the transaction or operations done at various levels and is only aware of the product which may be a software or an application. Therefore, this is a shared database which is specifically designed for the end user, just like different levels’ managers. ... Read More

Conversion of Set To Stream in Java

Samual Sam

Samual Sam

Updated on 18-Jun-2020 15:31:03

603 Views

Being a type of Collection, we can convert a set to Stream using its stream() method.ExampleLive Demoimport java.util.HashSet; import java.util.Set; import java.util.stream.Stream; public class Tester {    public static void main(String args[]) {       Set set = new HashSet();       set.add("a");       ... Read More

Copying file using FileStreams in Java

Samual Sam

Samual Sam

Updated on 18-Jun-2020 15:26:45

240 Views

This example shows how to copy the contents of one file into another file using read & write methods of FileStreams classes.ExampleLive Demoimport java.io.*; public class Main {    public static void main(String[] args) throws Exception {       BufferedWriter out1 = new BufferedWriter(new FileWriter("srcfile"));       ... Read More

Comparison of autoboxed integer object in Java

Samual Sam

Samual Sam

Updated on 18-Jun-2020 14:52:30

207 Views

When we assigned an int to Integer object, it is first converted to an Integer Object and then assigned. This process is termed as autoboxing. But there are certain things which you should consider while comparison of such objects using == operator. See the below example first.ExampleLive Demopublic class Tester ... Read More

Compilation and execution of Java Program

Samual Sam

Samual Sam

Updated on 18-Jun-2020 14:46:45

16K+ Views

Let us look at a simple code first that will print the words Hello World.ExampleLive Demopublic class MyFirstJavaProgram {    /* This is my first java program.        * This will print 'Hello World' as the output        */    public static void main(String ... Read More

Collections in Java

Samual Sam

Samual Sam

Updated on 18-Jun-2020 14:20:18

366 Views

Prior to Java 2, Java provided ad hoc classes such as Dictionary, Vector, Stack, and Properties to store and manipulate groups of objects. Although these classes were quite useful, they lacked a central, unifying theme. Thus, the way that you used Vector was different from the way that you used ... Read More

Advertisements