Tag Archive | Java
In Java, we compare two values using either ‘==’ or equals. Let’s see the difference between these two in this article. Before explaining the difference, I would like to explain what happens when we assign one value to another – for example, whey you say i = j where i might be a variable of […]
If you are running a program in eclipse and want the execution to happen with a specific value of heap size, – Right click on application -> Run as.. -> Run Configurations -> Open Argument tab Now, under VM arguments, specify : -Xms128m -Xmx256m
Object oriented programming languages like Java focuses on modeling of objects for developing an application. These objects can be defined by 2 characteristics : state and behavior. Here, let’s understand this with the help of an example.
Java, on the whole, can be divided into 2 parts : Programming language – this is basically a specification which describes various rules for writing a program in Java Platform – this refers to the underlying system for running a Java application.