Currently browsing tag

Core Java, Page 3


Java Access Modifiers

Questions to be answered: What are access modifiers and why do we need them in Java? What are the class-level and method-level …


Java Varargs

In this article, we will discuss about passing variable number of arguments to Java methods. Variable arguments feature was introduced in Java …


Java equals() and hashcode()

This tutorial explains the equals() and hashcode() method in simple terms. It is one of the confusing questions on the Java developer’s …


Java Math.random() Example

In Java, there is a method random() in the Math class, which returns a double value between 0.0 and 1.0. Note that …


Java Immutable Objects

Objects whose state can’t be changed after its creation are called immutable objects. It is considered an effective strategy to make objects …


Stochastic Gradient Ascent

This article is based on Machine Learning in Action , published on February 2011. It is being reproduced here by permission from …

Pin It on Pinterest