Tags » Java 2

Remote profiling using SSH Port Forwarding (SSH Tunneling) on Linux

In this blog post I’ll lay out few steps that are needed for remote profiling using SSH Port Forwarding (SSH Tunneling) using Yourkit profiler.

 

Steps to be followed on remote machine: 229 more words

Agile

Pass By Reference in Java

Pass-By-Value: Pass-By-Value means to pass value from calling function to called function. The value passed will be local to function called and any changes to the passed value will not be reflected in original value passed. 157 more words

Java

The Usefulness of the Java Random Class

The Problem with the Math.random() Method.

When you want to generate a random integer, the java.util.Random class is a much better utility than the Java.lang.Math.random() method. 649 more words

Java

Performing Multiple Statements in the Update Section of a Java For Loop

The Java For Loop.

The format for a Java “for” loop is specified as follows :

for(initialization; Boolean_expression; update)
{
   //Statements
}

(see Java Loops – for, while and do…while… 512 more words

Java

Eclipse ResourceBundle Plugin - Update

Today I tried to install the Eclipse ResourceBundle Plugin (which I posted about here) in Spring Toolsuite 3.6 which is based on Eclipse 4.4 (Luna) and was horrified the version 0.8.0 does not work. 113 more words

Java

String Vs String Buffer in Java

String: String is immutable means we can’t modify a string object once it is created. We can replace it by another instance of String.

StringBuffer:  173 more words

Java

Change Final variable value in Java

Have you ever thought of changing final variable in Java !!.

We all know that once the final variable is assigned value we can’t change it. 208 more words

Java