SlideShare a Scribd company logo
Definition: Name of memory location is called a variable.
There are 3 types of variables:
1. local variable: A variable which is declared in the method itself is called as Local variable.
2. instance variable: A variable declared in the class but outside of the method is called as
Instance variable.
3.static variable: Any variable which is declared as static is called as static variable. and it cannot
be local.
Two types of datatypes in java:
1. Primitive datatype: it divided into boolean and numeric wheras Numeric is divided into
character and integral. Integral is divided into integer and floating-point.
2. Non-primitive datatype: it is classified as string, array etc.
Solution
Definition: Name of memory location is called a variable.
There are 3 types of variables:
1. local variable: A variable which is declared in the method itself is called as Local variable.
2. instance variable: A variable declared in the class but outside of the method is called as
Instance variable.
3.static variable: Any variable which is declared as static is called as static variable. and it cannot
be local.
Two types of datatypes in java:
1. Primitive datatype: it divided into boolean and numeric wheras Numeric is divided into
character and integral. Integral is divided into integer and floating-point.
2. Non-primitive datatype: it is classified as string, array etc.

More Related Content

PPTX
Constant a,variables and data types
PPTX
Data types ^J variables and arrays in Java.pptx
PDF
7. VARIABLEs presentation in java programming. Pdf
PPTX
Local variables Instance variables Class/static variables
PPTX
Variables in java.pptx
PPT
Java-Variables_about_different_Scope.ppt
PPTX
Computer programming 2 Lesson 6
PDF
Java data types, variables and jvm
Constant a,variables and data types
Data types ^J variables and arrays in Java.pptx
7. VARIABLEs presentation in java programming. Pdf
Local variables Instance variables Class/static variables
Variables in java.pptx
Java-Variables_about_different_Scope.ppt
Computer programming 2 Lesson 6
Java data types, variables and jvm

Similar to Definition Name of memory location is called a variable.There are.pdf (20)

PDF
java-basics-1.pdf jfjf hjghjgkj df jfjf hjghjgkj df jfjf hjghjgkj df jfjf hjg...
PDF
Java variable types
PDF
2._Java_Syntax_and_Data_Type.pptx.pdf
PPTX
Learning Java 2 - Variables, Data Types and Operators
PPTX
Java Data Types and Variables
PPTX
04 data types & variables
PPTX
Variables and Data Types
PDF
7-Java Language Basics Part1
PPTX
OOP-java-variables.pptx
PDF
Chapter4-var.pdf
PPTX
OOP using java (Variable in java)
PPTX
Java Basic
PPT
3 java - variable type
PDF
Class and Object JAVA PROGRAMMING LANG .pdf
PPTX
Java Tokens in java program . pptx
PPTX
Class and Object.pptx from nit patna ece department
PDF
Variables And Data Types
PPTX
Unit-1 Data Types and Operators.pptx to computers
PDF
Lesson 4 - Data and Variables.pdf
PPTX
C PROGRAMMING LANGUAGE
java-basics-1.pdf jfjf hjghjgkj df jfjf hjghjgkj df jfjf hjghjgkj df jfjf hjg...
Java variable types
2._Java_Syntax_and_Data_Type.pptx.pdf
Learning Java 2 - Variables, Data Types and Operators
Java Data Types and Variables
04 data types & variables
Variables and Data Types
7-Java Language Basics Part1
OOP-java-variables.pptx
Chapter4-var.pdf
OOP using java (Variable in java)
Java Basic
3 java - variable type
Class and Object JAVA PROGRAMMING LANG .pdf
Java Tokens in java program . pptx
Class and Object.pptx from nit patna ece department
Variables And Data Types
Unit-1 Data Types and Operators.pptx to computers
Lesson 4 - Data and Variables.pdf
C PROGRAMMING LANGUAGE
Ad

More from mohammadirfan136964 (20)

PDF
2. Ligamentum arteriosumThe aortic arch loops over the left pulmo.pdf
PDF
moles should be equal to complete consumption so.pdf
PDF
TrueOne of the fundamental rules which control the PLSS system is .pdf
PDF
The stronger the attractions betweenparticles (mo.pdf
PDF
a. It gives benzalacetone b. acetone will underg.pdf
PDF
what is the mean, median, mode and the midrange for 191, 167,257,1.pdf
PDF
Disodium malonate is an ionic sodium salt that is soluble in water..pdf
PDF
They showed that GFP protein could be expressed in the organisms wit.pdf
PDF
Thepossible mechanism by which a 75kD nuclear protein is imported in.pdf
PDF
The neurons are nervous cells which play the central role in generat.pdf
PDF
The parts of the respiratory tract which have nonkeratinized stratif.pdf
PDF
The impact of Brexit would be visible on the financial instituations.pdf
PDF
The alkaline earth metals burn in oxygen to form the monoxide, MO wh.pdf
PDF
Squid molluscCrab ArthropodsCrayfish ArthropodsPolychaete .pdf
PDF
The code you written is little bit confusing and lengthy. Here is th.pdf
PDF
Ques-1Normala flora and microbiota of nose and mouth are non-infe.pdf
PDF
Solution.According to IASB framework INCOME is the one of element .pdf
PDF
7. Answer is A.Cytochromes are protien containing iron or heme gro.pdf
PDF
A and C. RGB analog component video uses no compression, imposes no .pdf
PDF
Public key authentication is the most secure colution and utilizes a.pdf
2. Ligamentum arteriosumThe aortic arch loops over the left pulmo.pdf
moles should be equal to complete consumption so.pdf
TrueOne of the fundamental rules which control the PLSS system is .pdf
The stronger the attractions betweenparticles (mo.pdf
a. It gives benzalacetone b. acetone will underg.pdf
what is the mean, median, mode and the midrange for 191, 167,257,1.pdf
Disodium malonate is an ionic sodium salt that is soluble in water..pdf
They showed that GFP protein could be expressed in the organisms wit.pdf
Thepossible mechanism by which a 75kD nuclear protein is imported in.pdf
The neurons are nervous cells which play the central role in generat.pdf
The parts of the respiratory tract which have nonkeratinized stratif.pdf
The impact of Brexit would be visible on the financial instituations.pdf
The alkaline earth metals burn in oxygen to form the monoxide, MO wh.pdf
Squid molluscCrab ArthropodsCrayfish ArthropodsPolychaete .pdf
The code you written is little bit confusing and lengthy. Here is th.pdf
Ques-1Normala flora and microbiota of nose and mouth are non-infe.pdf
Solution.According to IASB framework INCOME is the one of element .pdf
7. Answer is A.Cytochromes are protien containing iron or heme gro.pdf
A and C. RGB analog component video uses no compression, imposes no .pdf
Public key authentication is the most secure colution and utilizes a.pdf
Ad

Recently uploaded (20)

PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Lesson notes of climatology university.
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
Cell Types and Its function , kingdom of life
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Cell Structure & Organelles in detailed.
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
RMMM.pdf make it easy to upload and study
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
Trump Administration's workforce development strategy
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Classroom Observation Tools for Teachers
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Orientation - ARALprogram of Deped to the Parents.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
Lesson notes of climatology university.
A systematic review of self-coping strategies used by university students to ...
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Cell Types and Its function , kingdom of life
STATICS OF THE RIGID BODIES Hibbelers.pdf
GDM (1) (1).pptx small presentation for students
Cell Structure & Organelles in detailed.
Module 4: Burden of Disease Tutorial Slides S2 2025
RMMM.pdf make it easy to upload and study
Supply Chain Operations Speaking Notes -ICLT Program
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Weekly quiz Compilation Jan -July 25.pdf
Trump Administration's workforce development strategy
Pharmacology of Heart Failure /Pharmacotherapy of CHF
O5-L3 Freight Transport Ops (International) V1.pdf
Classroom Observation Tools for Teachers
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS

Definition Name of memory location is called a variable.There are.pdf

  • 1. Definition: Name of memory location is called a variable. There are 3 types of variables: 1. local variable: A variable which is declared in the method itself is called as Local variable. 2. instance variable: A variable declared in the class but outside of the method is called as Instance variable. 3.static variable: Any variable which is declared as static is called as static variable. and it cannot be local. Two types of datatypes in java: 1. Primitive datatype: it divided into boolean and numeric wheras Numeric is divided into character and integral. Integral is divided into integer and floating-point. 2. Non-primitive datatype: it is classified as string, array etc. Solution Definition: Name of memory location is called a variable. There are 3 types of variables: 1. local variable: A variable which is declared in the method itself is called as Local variable. 2. instance variable: A variable declared in the class but outside of the method is called as Instance variable. 3.static variable: Any variable which is declared as static is called as static variable. and it cannot be local. Two types of datatypes in java: 1. Primitive datatype: it divided into boolean and numeric wheras Numeric is divided into character and integral. Integral is divided into integer and floating-point. 2. Non-primitive datatype: it is classified as string, array etc.