write types of variables in Java with example
Attachments:
Answers
Answered by
4
Answer:
There are three types of variables in Java: ... Sample Program 1: filter_none .... class Example { static int a; //static variable int b; //instance variable }.
Explanation:
Example to understand the types of variables in java
class A{
int data=50;//instance variable.
static int m=100;//static variable.
void method(){
int n=90;//local variable.
}
}//end of class.
Answered by
1
Answer:
1))))
Explanation:
2))))
3))))
PLEASE MARK ME AS BRAINLIEST AND LIKE ME PLEASE
Attachments:
Similar questions