Nov 26
Explain Java Logo

Many java beginners have a confusion about what is the difference between String, StringBuffer, and StringBuilder classes and which class we should use out of those three. Well, I personally prefer to use StringBuilder if we need to do many string concatenations. Let’s go in detail and see which one is better among the three […]

written by Seetha Ram Janapala
Tags: core java, core java for beginners, core java tutorial, difference between String StringBuffer and StringBuilder, j2se 5.0, j2se tutorial, java strings, java strings immutable, java strings tutorial, memory leaks, String vs StringBuffer vs StringBuilder, StringBuffer, stringbuffer examples, stringbuffer stringbuilder tutorial, StringBuilder, stringbuilder examples, tostring example

Jun 10
Palindrome

In this core java beginners tutorial, let us write a simple java program to check whether a given number or string is palindrome or not without using built-in reverse() method of StringBuilder or StringBuffer. Later we can execute the program and check the output for different numbers and strings. What is a palindrome Number or […]

written by Seetha Ram Janapala
Tags: core java for beginners, core java tutorial, j2se, j2se 5.0, java programming scanner, java strings, palindrome, palindrome algorithm, palindrome check with output, palindrome examples, palindrome java program, palindrome number, palindrome string, reverse of a number, reverse of a string, StringBuilder, stringbuilder examples

Jun 05
Reverse Of Number

In this beginners tutorial, let us write a basic java program to find reverse of a given number and string. After that, we can run the program and see the output for different numbers and strings. Example Java Source Code to find reverse of a given number & string import java.util.*; public class RevNumString { […]

written by Seetha Ram Janapala
Tags: core java for beginners, core java tutorial, find the reverse of string, how to reverse a number, j2se, j2se 5.0, java programming scanner, java strings, printf, reverse number algorithm, reverse number with output, reverse of a number, reverse of a string, sample java programs, scanner, simple java programs, simple string programs in java, StringBuilder, stringbuilder examples, tostring, what is scanner in java programming

Mar 06
Why Strings & Wrapper classes are immutable?

This tutorial explains Mutability in Java Programming and why Strings & Wrapper classes are immutable and final in java. Mutable vs Immutable objects in java Any object in java is said to be “mutable” if its value can be changed. Immutable objects content can not be changed. Is String mutable class in java? No. String […]

written by Seetha Ram Janapala
Tags: application of wrapper classes in java, autoboxing, automatic wrapper, character wrapper class in java, core java for beginners, core java tutorial, data integrity, difference between primitive data types and wrapper classes in java, features of wrapper class in java, how to create a wrapper class in java, immutable, immutable strings, Integer, integer wrapper class java example, j2se 5.0, java 2 platform standard edition 5.0, java 5, java primitive wrapper types, java strings immutable, java wrapper class example, list of wrapper classes in java, memory leaks, mutability in java programming, mutable, mutable and immutable in java, mutable strings, Mutable vs Immutable, primitive wrapper classes in java, purpose of wrapper class in java, string wrapper class in java, StringBuffer, StringBuilder, unboxing, usage of wrapper classes in java, what is meant by wrapper class in java explain with example, why are wrapper classes needed, why do we need wrapper classes, why do we use wrapper classes in java, wrapper class methods in java, wrapper classes immutable, wrapper classes in java with example, wrapper classes tutorial, wrapper data types in java, wrapper objects in java, wrapper types in java