Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
Importance of Internships to College Students
There is something in internships that is all the more inescapable than the sweet fragrance of a rose flower – Learning. An adage suggests, “Learning is not preparation for life; Learning is life itself.” Learning in every point of life is cardinal in its own way. When students experience a continuous learning environment, they get an opportunity to explore diverse and unexplored territorial domains. What thus follows is a phantasmagoria of constructive and highly rewarding events. This eventually leads to new ideas. Internships are cherished by students and multiple internships are mandated in a few reputed organizations.Here is a curated ...
Read MoreKnow Your Project Contract Before Signing
Depending upon the nature of business, it is often seen that many organizations outsource some portions of their work to a third party vendor instead of doing on its own. And to define a clear working procedure between the two parties they agree to sign a contract, which is a legal agreement between your organization and the service provider or vendor, where both the parties are bound to abide the terms and conditions stated in the contract.A contract is a mutually agreed legal document where one party is the service provider i.e. seller and the other one is the receiver ...
Read MoreISO The Buzzing Word
Around the industry, everyone is talking about attaining and acquiring ISO standards for their Organizations. ISO has grabbed the market very fast and has become a quality measurement parameter. However, what exactly is ISO and what is the process of attaining this certification?To understand this more effectively, let us first understand what is Quality. Quality can be implied as a measure of degree of excellence. With better quality comes better service and value for money. Quality can mean different things to different people. For some people, Quality can mean doing the right job at the right time, for some Quality ...
Read MoreHow to implement LongSupplier using lambda and method reference in Java?
LongSupplier is a built-in functional interface from java.util.function package. This interface doesn’t expect any input but produces a long-valued output. Since LongSupplier is a functional interface, it can be used as an assignment target for lambda expression and method reference and contains only one abstract method: getAsLong().Syntax@FunctionalInterface public interface LongSupplier { long getAsLong(); }Example of Lambda Expressionimport java.util.function.LongSupplier; public class LongSupplierLambdaTest { public static void main(String args[]) { LongSupplier supplier = () -> { // lambda expression ...
Read MoreHow to implement LongPredicate using lambda and method reference in Java?
LongPredicate is a functional interface defined in java.util.function package. This interface can be used mainly for evaluating an input of type long and returns an output of type boolean. LongPredicate can be used as an assignment target for a lambda expression or method reference. It contains one abstract method: test() and three default methods: and(), negate() and or().Syntax@FunctionalInterface interface LongPredicate { boolean test(long value); }Example of Lambda Expressionimport java.util.function.LongPredicate; public class LongPredicateLambdaTest { public static void main(String args[]) { LongPredicate longPredicate = (long input) -> { ...
Read MoreHow to Enable or Install Byobu for Terminal Management on Ubuntu 16.04
In this article, we will learn about Byobu on the Ubuntu 16.04, Byobu which is a terminal multiplexer and easy to use, Byobu is used to have multiple windows, consoles and split panes within the windows and will also show the status badges and notifications on the terminal.To complete this tutorial we needed an Ubuntu 16.04 installed and a Linux user with sudo permissions.Installing or Checking the ByobuAs a default feature of Ubuntu 16.04, Byobu is installed. However, as a practice, we will check the installation and version and if not we will install the Byobu.To check the Byobu is ...
Read MoreDifference Between JDBC and Hibernate
JDBC is acronym of Java database connectivity. It is used to connect your application to the database and transactions . It is an open source Java api. Hibernate is also used for connect your application to database and to do database related transactions but with different approach. It has a object relationship library which mapped the tables and columns of the database with the java object. It enables object oriented programming in database. Hibernate provides HQL to access the data from the database. Sr. No.KeyJDBCHibernate1Basic It is database connectivity technology It is a framework, 2Lazy Loading It does not support lazy loading Hibernate support ...
Read MoreHow to implement IntBinaryOperator using lambda expression in Java?
IntBinaryOperator is a functional interface in Java 8 from java.util.function package. This interface expects two parameters of type int as input and produces an int type result. IntBinaryOperator can be used as an assignment target for a lambda expression or method reference. It contains only one abstract method: applyAsInt().Syntax@FunctionalInterface public interface IntBinaryOperator { int applyAsInt(int left, int right) }Exampleimport java.util.function.*; public class IntBinaryOperatorTest { public static void main(String[] args) { IntBinaryOperator test1 = (a, b) -> a + b; // lambda expression System.out.println("Addition of ...
Read MoreHow to implement Function interface with lambda expression in Java?
Function interface is a functional interface from java.util.function package. This interface expects one argument as input and produces a result. Function interface can be used as an assignment target for a lambda expression or method reference. It contains one abstract method: apply(), two default methods: andThen() and compose() and one static method: identity().Syntax@FunctionalInterface public interface Function { R apply(T t); }Exampleimport java.util.function.Function; public class FunctionTest { public static void main(String[] args) { Function f1 = i -> i*4; // lambda System.out.println(f1.apply(3)); ...
Read MoreHow to implement DoubleSupplier using lambda and method reference in Java?
DoubleSupplier interface is a built-in functional interface defined in java.util.function package. This functional interface doesn’t expect any input but produces a double-valued output. DoubleSupplier interface can be used as an assignment target for lambda expression and method reference. This interface contains only one abstract method: getAsDouble().Syntax@FunctionalInterface public interface DoubleSupplier { double getAsDouble(); }Example of Lambda Expressionimport java.util.concurrent.ThreadLocalRandom; import java.util.function.DoubleSupplier; public class DoubleSupplierLambdaTest { public static void main(String args[]) { DoubleSupplier getRandomDouble = () -> { // lambda expression ...
Read More