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

What is difference between an object and a class?

698


What is square root in java?

681


Does google use java?

631


For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green  White will have 1 Weight.  Red and Green carry no weights.  Shortest path is the path with less weight when you add up the weights in the path.

1649


What is the difference between replace and replace all?

576






Implement a stack with push (), pop() and min() in O(1) time.

717


Enlist few advantages of inheritance?

693


Explain jvm, jre, and jdk?

678


When we should use serialization?

657


What is difference between static class and normal class?

629


What is parsing a string?

685


What is procedure writing?

593


What is flush () in java?

654


Explain the purpose of garbage collection in Java?

665


Explain how to force the garbage collection in java.

612