Tutorial And Example
686 FOLLOWERS
A Tutorial Website with Real Time Examples. Follow to get updates.
Tutorial And Example
3y ago
How to generate a random number in Java
In the Java programming language, various applications find the need to generate random numbers. Therefore, Java provides various ways to generate random numbers in a specific range for the integer,long,double, float, and Boolean types.
Various applications use the feature of random numbers. For example, the one-time password (OTP) is used to authenticate the user. Also,a dice is one of the examples of random numbers which gives a random value between 1 and 6, whenever we throw it.
In this section, we will understand a random number and the different way ..read more
Tutorial And Example
3y ago
Lambda Expressions in Java
The most significant and most anticipated feature of Java was the Lambda Expressions. Java 8 introduced Lambda Expressions in Java on 18th March 2014. Earlier Lambda Expressions were trendy and common in other advanced programming languages like Scala, Python, etc. Java lambda expressions were Java’s initial step towards functional programming.
Java Lambda Expression or Lambda function is simply an unnamed expression or function which is rewritten as a parameter for any other function. Instances of functional interfaces are represented using Lambda expressions in Jav ..read more
Tutorial And Example
3y ago
Method References in Java
Java is a redundant language, and that can grow in the way of productivity and readability. Decreasing standardized text and monotonous code has constantly been a prevalent job with Java developers. After this, Developers usually sought clean, concise, and readable code.
Lambda Expressions removed the need to type cumbersome boilerplate code when it comes to everyday tasks by allowing developers to call them without them belonging to a class and passing them as if they were objects.
Simultaneously with lambda expressions, Method references were introduced in the ..read more
Tutorial And Example
3y ago
Java extends vs implements
Object-Oriented Programming languageoffers different features like encapsulation, inheritance, polymorphism, etc. As Java isan OOP, it supports the concept of inheritance. The two keywords extends and implements are used to achieve inheritance in the Java program. There are somedifferences between extends and implements.
Java extends keyword
In Java, inheritance allows a child class to use the methods and variables of already declared base class. It reduces the rewriting of code.
Inheritance is implemented using extends keyword.
The data members declared inside the ..read more
Tutorial And Example
3y ago
Full Form of GATE- Graduate Aptitude Test In Engineering
GATE is the abbreviated form of Graduate Aptitude Test in Engineering. Gate is an entrance test that is held on an annual basis for admission to several programs of post-graduate in the field of science and technology in India.
The exam is held, managed, governed, administered collectively by the Indian Institute of Science and Indian Institute of Technology. This exam is commissioned by the Ministry of Higher Education and Human Resources Department (HRD) of the Government of India.
GATE is a form of ability test for engineering gradua ..read more
Tutorial And Example
3y ago
GPRS
GPRS is the abbreviated form of General Packet Radio Service. GPRS is a service or facility for pack-oriented communication of the data or information. This service or the facility facilitates the communication for mobile on 2G or 3G mobile communication system.
In other words, General Packet Radio Service (GPRS) is a packet-oriented mobile data service in the Global System for Mobile Communications (GSM) 2G and 3G cellular networks. GPRS was developed by the European Telecommunications Standards Institute (ETSI)as an advanced version of CDPD or the cellular packet switching technologies ..read more
Tutorial And Example
3y ago
HMM
The term HMM is widely used in chat rooms and doesn’t imply to anything specification, nor has any specific definition for the same.
HMM usually means that this person is considering the statement that the other individual is saying, typing or asking.
It is often worn by girls. Well, this may mean that the person entirely agrees with your message and something like “yes.” At times certain people use this term as a hint to tell the other individual in the chat that they are not interested in further interaction, so let’s end it. If two or more messages in a row only contain “Hmm,” it means ..read more
Tutorial And Example
3y ago
Difference Between Center and Centre
For centuries, the different spelling of same word have confused so many writers.We often confuse about which spelling is correct? Where we should use center or where to you centre? Somewhere this confusion is obvious, because the slight change of a letter or positioning of letters in spelling can change the meaning of the word and it can ruin your writing.
Center Vs Centre which one is correct?
Some Other Examples:-
There are so many other words in English, which have been confusion people for a long time:
Organization vs organisation, colour vs color, gre ..read more
Tutorial And Example
3y ago
Difference Between CC and BCC
Now a day, there are so many medium of communication. But In olden times it was not easy to talk to people sitting far away from you. There was no phone, no internet, no video calls etc. Science and technology have made these things is really easy. That was the time of sending and receiving handwritten letters via post.
The invention of the internet has made the communication a lot easier.
Email plays a vital role more often in the professional world. Via email, school/ university notify the students, organization share information with their employees, companies ..read more
Tutorial And Example
3y ago
Difference Between Has and Have
Sometimes, we all face the troubles and confusion in English even in the very simplest of grammars. But it’s completely fine in the process of learning.
In this article, we will understand deeply about the two major and common words. That is; has and have.
Has and Have: An Introduction
Has and have reflect the present time. It means has and have both is the present form of verb To Have.
The past participle of have is Had.And in the continuous tense, we use as having.
Is it confusion, where to use has or where we should use have? Don’t worry. Let us understand so ..read more