My Blog.(Learn Digital Marketing online free)

Vijay Srinivas.K-javaform
We provide the best online material for learning advanced courses like java, Digital Marketing by our experienced team unit.They will assist you in clarifying the doubts.
Hi friends, I am Vijay Srinivas.K, founder of Best Surprise planners in Hyderabad -Lavish Surprises. I completed my Bachelor's degree From KL University. I worked as Technical Head for IEEE|KLU Student Branch. My interest on editing images and creative content for articles drove me to dive into Digital Marketing. I am certified by Google in AdWords Search Advertising and also an expert in Search Engine Optimization (SEO), Social Media Marketing (SMM). My blog gives information on CoreJava, Digital Marketing and Personality Development Ebooks with inspiring stories. I inspired from the quote "Learning doesn't require age" which lead me to create this blog through which I can share my knowledge to you.The main objective of My Blog is to provide quality content for easy learning and to save the time of the user in finding concepts.You can Learn Digital Marketing online free from our blog.

Core Java.

In this article,What is core Java?, is explained in detail from the origin of the Java with examples.
Introduction to Java
Java is a simple and powerful object oriented programming language and it is in many respects similar to C++.Core Java or Java is a programming language, using which we can develop programs/applications and software for computers especially. It is intended to let application developers “write once, run anywhere” meaning that compiled Java code can run on all platforms that support Java/Core Java without the need for recompilation.
Ex: Calculator, Notepad, MS-Office applications, Internet applications, student applications, Banking applications etc..

Features of Java.

In this article, What are Features of Java? are explained in detail with real time examples. 
Features of java-javaform

Simple
The first features of Java is Simple.All the limitations of the traditional programming language like c,c++ were eliminated in Core Java and it is made simple to learn,easy to write programs with less number of lines and short period of time.

Installation of Java and Java path.

In this article,how to Installation of Java and Java path? are explained in detail with images shown.
It is recommended, before you proceed with the online Installation of Java, you may want to disable your Internet firewall. In some cases, the default firewall settings are set to reject all automatic or online installations such as the Java online installation of Java. If the firewall is not configured appropriately it may stall the download/install operation of Java under certain conditions. Refer to your specific Internet firewall manual for instructions on how to disable your Internet Firewall.
This Article gives you the information about installation of java and setting the path to java to download java software go through the link.

Step by step installation of Java standard edition software is clearly mentioned below.

Verification of Java Path.

In this article,what is  Java path? and Verification of Java path? is explained in detail with images of how to set the path.
The class path variable is one way to tell the applications, including the Java Development Kit (JDK) tools, where to look for user classes.(Classes that are part of the JRE,JDK platform, and extensions should be defined through other means, such as the class path or the extensions directory).
Step 1:Open the command prompt by typing cmd in the start menu or you can directly open by pressing (windows+r) and type CMD.

Verification of java path-javaform

First/Sample Program using Java.

In this article, how to write First/Sample Program using Java is explained in detail. We can write a simple java program easily after installing the JDK.
It's time to write your first program! The following instructions are for users of Windows vista and Windows XP. To create a simple java program, you need to create a class that contains the main method. Your first application will simply display the greeting "Hello world!"
To create the First/Sample Program using Java, follow the program.   (From topic how to write First/Sample Program using Java)
Ex:1
//program related to First/Sample Program using Java. 
class sample{
Public static void main(String args[]){
System.out.println("Hello world!.");

Basic Structure and Fundamentals of Java.

In this article, What are Basic Structure and Fundamentals of Java? is explained in detail.We will learn about the basic structure of Java program.This structure consists of
  • Documentation Section.
  • Package Statements.
  • Class Definitions.
  • Class with main() method definition.

Fundamentals of Java|Java tokens.

In this article, what are Fundamentals of Java|Java tokens? is explained in detail. Tokens are different entities (individual units), using which we write java programs.These Fundamentals of Java|Java tokens. Java tokens are classified as follows.
JavaTokens-javaform

Introduction to Digital Marketing.

In this article, Introduction to Digital Marketing is explained in detail. We are going to know about what is Marketing,Types of marketing,what is Digital marketing,factors of digital marketing and which strategies are involved in it.

What is Marketing?
Marketing is the link between a company and the consumer audience that targets to raise the market price of a company.
Marketing can be done in two ways, they are.
  • Traditional Marketing.
  • Digital Marketing.

Interfaces.

Interfaces are pure abstract classes i.e, all the methods in an interface are abstract methods only.
Hence interface is also known as "Skeleton-class ".
Interface is a keyword used to declare it.
Ex
interface A
{
void m1();
void m2();
}
Here keyword abstract is optional while declaring abstract methods of an interface.
inheritance can contain data members.By default, these data members are public static final.
Ex
interface A
{
public static final int a=10;
public static final in b=20;
int c=30;
void m1();
void m2();
}
Such data members can be access directly with interface name.
Interface object can't be created because it is purely incomplete class.
A obj=new A(); //Error..
How to use interface
Since interface object can't be created,we have to inherit the interface.
Implement is a keyword using which we inherit an interface.
The class which inherits interface should be redefined all the abstract methods or interface.
The class which inherits interface should redefine all the abstract methods or interface otherwise such sub-class also becomes an incomplete class or abstract class and this class can't be instantiated.
Ex
class B implements A
{
int x,y;
void m1()
{
System.out.println("m1() Method");
}
void m2()
{
System.out.printnln("m2() Method");
}
void m3()
{
System.out.println("m3() method");
}
}
class InterfaceExample
{
public static void main(String args[])
{
//A obj=new A(); //Error..
A a;
System.out.printnln("A value="+A.a);
System.out.printnln("B value="+A.b);
System.out.printnln("C value="+A.c);
a=new B();
a.m1();
a.m2();
a.m3();
B b=new B()
b.x=11;
b.y=22;
System.out.printnln("X value="+b.x);
System.out.printnln("Y value="+b.y);
b.m1();
b.m2();
b.m3();
}
}
Output

Ex
//program related to interfaces
Interface interface1
{
/*final*/ int x=10;
Static int x=20; // by default its final,public.
Void method1();
Void method2();
/*void method3() //error—because no complete method
{
System.out.println(“Inside method3()”);
}
*/
Class InterfaceExample implement Interface1
{
Public void method1()
{
System.out.println(“Inside method 1()”);
}
Public void method2()
{
System.out.printnln(“Inside method2()”);
}
Public static void main(String args[])
{
Interface obj1=new Interface1(); //error no-object
Interface1 obj1;
InterfaceExample obj2=new interfaceExample();
Obj2.method1();
Obj2.method2();
//obj2.x=obj2.x+10 //if final in interface
System.out.println(“X:::”+obj2.x);
//Interface1.y=Interface1.y+10; //by default its final
//obj2.y=obj2.y+10; //by default its final
System.out.println(“y:::”+ Interface1.y);
Obj=obj2;
Obj.method1();
Obj.method2();
Interface1 obj3=new InterfaceExample();
Obj3.Method1();
Obj3.method2();
System.out.println(obj3);
}
}
Output

Multiple Inheritance in Java through interfaces.
Java doesn't support multiple inheritance through classes i.e, 2 or more base classes giving derivation to one sub-class. i.e not possible in Java.
Multiple inheritance-javaform
However, this concept can be implemented through interfaces.
MultipleInheritance-Javaform
Ex
class C extends A implements B
Here Sub-Class 'C' should redefine all the abstract methods of base-class as well as interface otherwise such class becomes an abstract class and it can't be instantiated.
Note:
i)A class extends class for inheritance
class extends-Javaform
Ex
class B extends A
{---
---
}
ii)A class implements interface for inheritance.
implements interface-javaform
Ex.
class implements A
{---
----
}
iii)An interface extends another interface for inheritance.

interface extends-Javaform
Ex
Interface B extends A
{
---
---
}
iv) Interface can't inherit class.
Interface can't inherit-javaform
This case is not possible.
Because class contains complete methods and such methods are inherited to interface but interface can’t have complete methods.

Ex
//Multiple inheritance through interface
interface Interface1
{
void method1();
void method2();
}
class Example1
{
void method3()
{
System.out.println("Inside Method3()");
}
}
class MultipleInheritance extends Example1 implements Interface1
{
public void method1()
{
System.out.println("Inside Method()");
}
public void method2()
{
System.out.println("Inside method2()");
}
public static void main(String args[])
{
//Interface1 obj=new Interface1()
Interface1 obj;
MultipleInheritance obj2=new MultipleInheritance();
obj2.method1();
obj2.method2();
obj2.method3();
obj=obj2;
obj.method1();
obj.method2();
//obj.method3();
Interface1 obj3=new MultipleInheritance();
obj3.method1();
obj3.method2();
//obj3.method3();
System.out.println(obj3);
//Reference variable of Example1 class
Example1 obj4=new MultipleInheritance();
//obj4.method1();
//obj4.method2();
obj4.method3();
}
}

                     Do check my new startup Surprise Planners in HyderabadLavish Surprises

Hi Friends, Please comment down your views in the comment section below. Thank you...

Add Keywords into account.

In this article,How to Add Keywords into account is explained in detail with examples.
From keyword research tool we have to do the basic research about what keywords are searched by the user and what is the suggested bid and competition level.
Add auction
It is the process of determining the winner and its positions when add is running, Google add auction process is not like a general auction, where the highest bidder will get the value in an add auction. Google uses one more factor to determine the quality of keyword. It is defined as a quality score(QS).The quality score(QS) range is from 1 to 10. (From topic How to Add Keywords into account)

Fundamentals of Java|Data types.

In this article,what are Fundamentals of Java|Data types? is explained in detail with examples.
In software engineering and PC programming, a data type is an order of information which tells the compiler or interpreter how the developer expects to utilise the information. Most programming holds different types of information, for instance: real, integer or Boolean. A Fundamentals of Java|Data types, data type gives an arrangement of qualities from which an expression (i.e. variable, work ...) may take its qualities. The type characterises the operations that should be possible on the information, the significance of the information, and the way estimations of that sort can be put away.
The Data which is processed in a program to perform some operations is represented by data types.
Java supports two types of  data types. (From the topic what are Fundamentals of Java|Data types)
Fundamentals of Java|Data types-javaform

Search Engine Optimization(SEO).

In this article, What is Search Engine Optimization(SEO) is explained in detail with definitions.
The process to rank the sites on top listings by considering the policies by the Google is called Search Engine optimization.
Search Engine Optimization(SEO)-javaform

Google Algorithms.

In this article, what are Google Algorithms are clearly explained in detail with definitions.
Google follows powerful Algorithm strategy for user’s convenience. These algorithms help search engines to rank the pages based on some criteria. Most of the Google algorithms are patented.

Google Algorithms
  • Page rank
  • Spelling check
  • Synonym check
  • Autocomplete
  • Query understanding
  • Safe search
  • User context
  • Malware detection algorithm    (From Topic what are Google Algorithms)

Major Google Updates to know.

In this article, Major Google Updates to know are explained in detail with clear description.
Major update It can affect all the websites available in the Google database.
Major Google Updates to Know-Javaform

Declaring Variables in Java.

In this article, Major Google Updates to know are explained in detail with clear description.
Major update It can affect all the websites available in the Google database.
Major Google Updates to Know-Javaform

Keyword Research for Keywords.

In this article,Keyword Research for keywords is explained in detail.Keyword Research and competition analysis is the process of finding the best keywords to be used in our website or Domain names or web pages and page contents.
Why Keyword Search?
  • To predict the user demand.
  • To predict the seasonal demand.
  • To predict the growth potential.
Search Queries
The words and phrases that people type into a search box in order to pull up a list of results are called Search Queries.    (From the topic Keyword Research for Keywords)

What is Competition Analysis.

In this article,What is Competition Analysis is explained in detail with all requirements.
The competition of a keyword depends on certain factors which are measured by Google in deciding the ranking of the sites.
What is Competition Analysis- Javaform

Class and objects in Java.

In this article,Class and objects in Java are explained in detail, we will come to know about the Class and objects in java,What is are the definitions of object,state,class,behaviour,identity,use of object in java program.
Object
Object is a physical product representing a particular class and is used by end-customer.
Ex
  • A physically constructed house by an Engineer which is ready to occupy in an Object.
  • Maruti Suzuki alto 800 AC car.
  • A Hyundai grand i10 sportz model car.   (From topic Class and objects in Java)

What are On page optimization steps in SEO.

In this article, What are On page optimization steps in SEO are explained in detail with examples.
On page optimization is a process of optimizing the content in our site as per Google guidelines.
In On page optimization we have series of changes to be made in the site as per Google guidelines.
On Page steps (Factors)     (From topic What are On page optimization steps in SEO)

  • Domain name
  • URL optimization 
  • Site speed optimization
  • Title optimization
  • Meta tag optimization
  • Content optimization

What are On page optimization steps in SEO (Part II)

In this article, What are On page optimization steps in SEO (Part II) are explained in detail.

Content Optimization
It is the methodology by which search engine will define the quality of the page. We have to make sure every article we write must have minimum 300 words.In the article, we have to increase the keyword density percentage of our target keywords. SEO Quake Toolbar gives Keywords density and frequency data.
Note: Latent Semantic Indexing is the new way of keyword researching using related keywords.


Headings Optimization

In HTML we have 6 levels of Headings

Methods in Java.

In this article,Methods in Java is explained in detail with examples.
A Java technique is a gathering of Statements that are assembled together to implement an operation. When you call the System.out.println() technique, for example, the system really executes a few testimony with a specific end goal to show a message on the console.
Presently you will figure out how to make your own strategies with or without return values, request a technique with or without parameters, and apply strategy in the program plan.In this article, we are going to learn about the methods in java with examples. (From topic Methods in Java)
In Java, methods are nothing but functions in C and C++. A methods in Java is a sub-program which is used to perform a specific task in your main program.
Methods are of two types.

Categories of Java and Program using two classes.

In this article,Categories of Java and Program using two classes explained in detail with examples. we will come to know about the information on how methods are created and categorized with examples provided with output and code file.
Based on return type and parameters,methods in java are categorized into 4 type.
  • Methods without return type and without parameters.
  • Methods without return type and with parameters.
  • Methods with return type and without parameters.
  • Methods with return type and with parameters. 
//Program based on Categories of Java and Program using two classes.
class example                (From the topic Categories of Java and Program using two classes)
{
//without return type and without parameters.

Java variables and program of variables.

In this article, what are Java variables and program of variables? are explained in detail with the examples. In a particular class of a java program,we can have three types of java variables.
  • Instance Variables.
  • Class Variables.
  • Local Variables.

Google Adwords/Search engine Marketing(SEM).

In this article,Google Adwords/Search engine Marketing(SEM) is explained in detail with examples.
In search Engine marketing our goal is to generate traffic and business from search engine and other websites.
Adwords-Javaform.

Operators in Java.

In this article,Operators in Java is explained in detail with examples.
Operators in Java are special symbols, which are used to perform mathematical or other types of operations using values/operands in a program.
Ex:
a+b (+ operator)
a,b are values/operands.
Based on the type of operation and number of values used to perform an operation, Java operations/Operations in Java are divided into different types. (From topic Operators in Java) 
  • Arithmetic Operators.
  • Relational Operators.
  • Relational Operators.
  • Logical Operators.
  • Assignment Operators.

Advance targeting.

In this article,what is Advance targeting? is explained in detail with examples.
Google will automatically target your location based on the user internet.
AdvanceTargeting-Digitalmarketing-Javaform
If the user is searching in another country search engine, he will see the ads from that country only
The customer from excluded location and searching for excluded location will not see the add.

Relational and Logical Operators.

In this article, Relational and Logical Operators are explained in detail with examples. We will come to know about the Relational  and logical operators,truth table values for Logic AND, Logic OR and Logic NOT with examples provided.
They are also known as comparison operators because they compare two values and give the output as True/False. The operators are, (From topic Relational and Logical Operators)

Symbol
Description
Example
Less than
a<b
Greater than
a>b
<=
Less than or equal to
a<=b
>=
Greater than or equal to
a>=b
==
Equal to
a==b
!=
Not equal to
a!=b

Types of Cost Per Click (CPC).

In this article,Types of Cost Per Click (CPC) is explained in detail with practical images.
Depending on our bidding strategies we have different types of CPC's.
Maximum CPC.
The maximum amount an advertiser is willing to pay.
Average CPC.
The amount charged by google to our account on average.
Estimated First page bid.
The amount you have to bid to be on the first page.
Estimated top position bid.
The amount you have to pay to be in the top four positions.

Expanded Ads and Ad Extensions.

In this article,Expanded Ads and Ad Extensions is explained in detail with examples.
1.Your ad must have the target keywords for which the Ad group is targeted for that we need to maintain following parameters.
  • Final URL (Landing Page)
  • title 1 should be 30 characters
  • title 2 should be 30 characters
  • Description-80 characters
  • Display Page-15+15 characters

Assignment and Unary Operators.

In this article,Assignment and Unary Operators are explained in detail with examples.We are going to learn about Assignment operators with an example.
This operator is used to assign to value to a variable. It is "=".
Ex
a=10;
b=20;
sum=a+b;
Compound Assignment.       (From topic Assignment and Unary Operators)
If assignment operator is used with basic arithmetic operators then we get compound assignments.

Analyzing metrics in AdWords.

In this article,Analyzing metrics in AdWords is explained in detail with examples.
We will come to know about what are KPI parameters how effectively they are used in Google Adwords and some important Adword tools, Search terms, Segments, Ad Auction Insights.
Key Performance Indicators.(KPI)
The important factors which we have to analyze to define the success of the campaign.
  • Impressions.
  • Clicks.
  • CTR.
  • Average CPC.
  • Average Position.
  • Total Cost.
  • Quality Score.
  • Cost per conversion (CPA).
  • The total number of conversions.

Ternary and Bitwise operators.

In this article,Ternary and Bitwise operators is explained in detail with examples.
It is also known as a conditional operator.Ternary means three values.The operator is '?'.
Syntax
(expre1)?(expre2):(expre3)
If expre1 is true then expre2 is executed. If expre1 is false then expre3 is executed.
Ex
//program related to Ternary and Bitwise operators-ternary operator.

String addition and Special Operators in Java.

In this article, String addition and Special Operators in Java are explained in detail with examples.
This operator is '+'. It is used to add or concate two or more string as a single string.
Ex
"Hello"+"World" =>"Helloworld"
It is also used to add a string with any value/variable and form a new string.
Ex
"sum is: "+(a+b)
Here value or variable is of any data type.

Typecasting in Java.

In this article,Typecasting in Java is explained in detail with examples.It is the process of converting one data type value into another datatype value.
In the java program, it is done in two ways.
  • Implicit type casting.
  • Explicit  type casting.
Implicit typecasting.
This casting is done by Java compiler automatically during the compilation process. This casting is done mainly in two situations.
Ex
1. In mathematical expressions, lower datatype values are automatically converted to higher datatype value.

Control and Branching Structures in Java.

In this article, Control and Branching Structures in Java is explained in detail with examples.
Control Structure.
In general program execution starts with main() and it follows line by line/linear/sequential flow of execution takes place until the end of main().
Ex:
public static void main(String args[])
{-----
------
body   // (Linear Flow of Execution/Step by step execution)
-----  
------
}

Multiple if and If-else control structures.

In this article,Multiple if and If-else control structures are explained in detail with examples.
In this control structure, we use multiple if statements one after the other/sequential as follows.
Syntax
if(condition 1)
{---
body1;
---
}
if(condition 2)
{---
body2;
------
}

Nested-if control Structure.

In this article,Nested-if control Structure is explained in detail with examples.
In this, you will come to know about the Nested if control structure Using an if-condition block inside another if condition block is known as nested-if.
Syntax
if(condition 1)
{
outer true part;
}
if(condition 2)
{
Inner true part;
}
----
}

Cascading If-else control Structure.

In this article, Cascading If-else control Structure is explained in detail with examples. you will come to know about what is the cascading If-else control structure in Java, how it is defined in java program.Syntax is written as below
Syntax
if (condition 1)
{
true part1;
}
else if (condition 2)
{
true part2;
}
else if (condition 3)

Switch case control structure.

In this article,Switch case control structure is explained in detail with examples.This control structure works same as that of cascading if else provided we use proper break statements and control the execution.
Syntax
switch(expressions)
{
case value1:
---statement1---
break;
case value 2:
---statment2---

Looping Control Structures.

In this article,Looping Control Structures are explained in detail with examples.
These control structures are used to execute a block of statements continuously/iteratively based on a condition.
1.While loop
It is also known as pre-test loop i.e. first, we check the condition and if it is true, then it executes
the body. 
Syntax
initialization;
while(condition)
{
-----
body;
----
increment/decrement;
}

Nested Loop and Labeled break and Labeled continue.

In this article,Nested Loop and Labeled break and Labeled continue is explained in detail with examples.Using a particular looping structure inside an another looping structure is known as nested loop.
Syntax
outer-loop:(no of rows)
{
Inner-loop:(no of columns)
{
----
----
}
}

Getting input from Keyboard.

In this article,Getting input from Keyboard is explained in detail with examples.
"Scanner" is a class, using which, we can accept input from standard input device i.e.Keyboard.
This class is available in java.util package.Such package need to be imported in a java program.
Ex 
import java.util.*; or
import java.util.Scanner;
To use this class,we create object of this class.
Ex
Scanner sc=new Scanner(System.in); //System.in defines standard input device i.e. Keyboard.
for getting the input from keyboard the statement should be in the format shown below
String ss=sc.next(); 
String ss=sc.nextline();     (From topic Getting input from Keyboard)

Arrays in Java.

In this article,Arrays in Java is explained in detail with examples. you will come to know about what are Arrays in Java, how they are defined and how they are initialized in the Java program.
An Array is a collection of elements of same data type.
Syntax
(datatype) array name[]; //array declaration
Ex
int a[]; //no size of array should be given.
In java,while declaring an array, we don't give the size. After declaration, size is allocated to the new operator. (From topic Arrays in Java)
Syntax
arrayname=new (datatype)[size];
Ex
a=new int[5];

Examples on Arrays and ForEach Loop.

In this article,Examples on Arrays and ForEach Loop are explained in detail with examples. we will solve some examples related to the arrays and learn about Foreach Loop.
Ex
//programs related to Examples on Arrays and ForEach Loop--the sum of elements in an array.
class ArraySum
{
public static void main(String args[])
{
int a[]={11,22,33,44,55};
int i,sum=0;
for(i=0;i<5;i++)
sum=sum+a[i];

Possible Array Declarations and 2-D Arrays.

In this article,Possible Array Declarations and 2-D Arrays are explained in detail with examples.
In java we can declare an one dimensional arrays in possible ways.
int a[];
int []a;
int...a; //used only as varargs in methods
          // as last parameter.
Command line arguments
The main method takes string arrays as the input parameter.Such parameters could be passed as arguments while executing the Java program.
Syntax

Matrix addition,subtraction and Wrapper Classes.

In this article,Matrix addition,subtraction and Wrapper Classes are explained in detail with examples.
To perform these operations, the necessary and sufficient condition are both the matrices should be of same order because the operation is performed on corresponding elements from both the matrices.
Ex
//program related to Matrix addition,subtraction and Wrapper Classes-add,subtraction of a matrix.
class MatrixAddSub
{
public static void main(String args[])
{
int a[][]=new int[2][2];
int b[][]=new int[2][2];

Object Class and Constructors in Java.

In this article,Object Class and Constructors in Java are explained in detail with examples.
It is a pre-defined class in java available in "java.lang " package.
This class is a Base-class or Super-class for all our user-defined classes or pre-defined classes directly or indirectly.
This class provides runtime instance for all your classes getting executed in the memory
This class contains 7-native methods.
Native methods are those methods whose implementation is done in other languages like C and C++.
The following methods are native methods in the object class. (From topic Object Class and Constructors in Java)

Constructor and Notations in Java.

In this article,Constructor and Notations in Java are explained in detail with examples.
Like methods, Constructors can also take parameters, which acts like input values to the constructor.
Based on this, constructors are divided into two types.
Constructor types-Javaform

Rich Dad Poor Dad.

Rich DAD POOR DAD-Javaform
Rich Dad Poor Dad

RICH DAD AND POOR DAD. 
This book says What The Rich Teach Their Kids About Money-That The Poor And Middle Class Do Not!. This book “Rich Dad Poor Dad is a starting point for anyone looking to gain control of their financial future.” this was written by a newspaper in USA– USA TODAY. Experience the book and develop your way of thinking. 

Think and Grow Rich.

Think and Grow Rich-Javaform
Think and Grow Rich

Think & Grow Rich.
The main knowledge we achieve from this book is "Whatever your mind can conceive and believe it can achieve" it was practically proved.After Reading this book put a strong goal believe it and one day you can achieve them. Anything you conceive, they can be achieved, by strongly believing them.Make a habit of reading such inspiring books and develop the changes in your personality from them.

Garbage Collection.

In this article, Garbage Collection is explained in detail with examples.
1.It is an intelligent piece of an algorithm, provided by "JVM", which performs cleaning operations in the memory of java program dynamically when a java program is running for a long period of time.
2.This algorithm checks for unused memory in JVM RAM,and destroys them automatically.
3.In doing so,memory is saved by JVM and RAM becomes free, hence performance of the program increases.
4.This algorithm runs in the background of a program by JVM in memory.
5.This concept is same as that of destructors in C++.
Note
1.This automatic process can also be done by the user by calling the following method.
public void gc();

The Richest Man In Babylon.

The Richest Man In Babylon-Javaform
The Richest Man In Babylon

The Richest Man In Babylon.
The Richest Man in Babylon is a book by George Samuel Clason which provides financial advice through a collection of parables set in ancient Babylon. This book gives the complete information on financial advice, how to start a business and how to make it successful. Read the book thrive the skills.

Deriving a class and Polymorphism in java.

In this article,Deriving a class  and Polymorphism in java are explained in detail with examples.
This concept is related to inheritance.Hence we inherit properties and methods of existing class into a new class.
Deriving a class in Java-Javaform

Method overloading.

In this article,Method overloading is explained in detail with examples.
Two or more methods in a single class with same name and atleast one difference in the signature is known as method loading.
Signature means a number of arguments, the order of arguments and data type of arguments.
Ex
class A
{
---Data members---;
---Constructors----;
void m1(int,int){---}
void m1(float,float){---}
void m1(int,float){---}
void m1(float,int){---}

Method Overriding and Object as a class Member.

In this article,Method Overriding and Object as a class Member are explained in detail with example.
Method overriding is related to inheritance, Here we re-define method of a base class in a subclass with the same name and same signature i.e, the number of arguments, the order of arguments, the data type of arguments, all should be same.
Ex
//program related to Method Overriding and Object as a class Member--method overriding
class ParentClass
{
void parentMethod() //over ridden method---
{
System.out.println("Parent class Method");
}

Method Calling Mechanisms in Java.

In this article,Method Calling Mechanisms in Java is explained in detail with an example.
Based on nature of arguments used to call a user defined method in java, we have two types of method calling mechanisms.They are
  • Call by value.
  • Call by reference.
Call by Value
In this mechanism, we pass a copy of actual arguments to call a user-defined method and formal parameters are also of same data type.
Any changes done with formal parameters are NOT reflected to actual arguments.
Ex
//program related to Method Calling Mechanisms in Java--call by value.

Access Modifiers in Java.

In this article,Access Modifiers in Java is explained in detail with examples.
This concept represents scope/visibility/accessibility of different members of a class for usage.
Java supports four access modifiers:
a.Public
b.Protected
c.Default
d.Private
* If no modifier is used then it is default we use default in the switch case.
Using: D=direct access.
         obj=object access.
Access Modifiers-Javaform

Static Modifier in Java.

In this article,Static Modifier in Java is explained in detail with examples.
This modifier can be used in four situations
  • Data-members.
  • Member-Methods.
  • Static Block.
  • Classes-Related to nested class.
i)Static data-Members.
These data members are those data members,which are common for all the objects of a class.
Static is the keyword used to declare them.

Connect with Us by Subscribing here for more Updates..!

* indicates required