what are variables in java

Answer Posted / rice

Java support Three types of variables
1.)static
2.)Instance
3.)Local

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If a method is declared as protected, where may the method be accessed?

530


What is lambda expression in java?

536


What is nested top-level class?

576


What are the Main functions of Java?

623


Define reflection.

575






Why is singleton not thread safe?

645


How do you override a private method in java?

498


What lambda means?

541


Is it possible to use Semaphore/ Mutex in an Interrupt Handler?

530


Explain an algorithm to find depth of a binary tree.

544


we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.

1568


How static variable work in java?

596


How do you add an element to a hashset in java?

490


Is binary a low level language?

497


What is java volatile?

541