From 690bf76aa86816b78b5e1e38a983f709910cc9ba Mon Sep 17 00:00:00 2001 From: Abhishek <31904912+singh-abhisheksingh@users.noreply.github.com> Date: Thu, 1 Nov 2018 03:07:46 +0530 Subject: [PATCH] Added types of variables in java (#32976) --- guide/english/java/variables/index.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/guide/english/java/variables/index.md b/guide/english/java/variables/index.md index a4b81000ab..6c94061029 100644 --- a/guide/english/java/variables/index.md +++ b/guide/english/java/variables/index.md @@ -48,8 +48,13 @@ byte anotherByte = (byte)0b00100001; ``` As evident from the above example, variables of Primitive type behave slightly differently from variables of Reference (& Wrapper) type - while Primitive variables store the actual value, Reference variables refer to an 'object' containing the actual value. +Java Programming language defines mainly three kind of variables. +1) Instance variables +2) Static Variables +3) Local Variables + You can find out more in the sections linked below. # Other Resources * Data Types -* Classes and Objects \ No newline at end of file +* Classes and Objects