Why are global variables used?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is Java Package and which package is imported by default?

0 Answers  


What is the purpose class.forname method?

0 Answers  


What are the different ways to handle exceptions?

0 Answers  


What about instanceof operator in java?

0 Answers  


What is core java called?

0 Answers  






Describe 2 different ways to concatenate two strings.

0 Answers   TCS,


What is the set interface in java programming?

0 Answers  


How can final class be used?

5 Answers   Accenture, Wipro,


what is the difference between HashMap and Hashtable

17 Answers   Value Labs, Virtusa,


What happens when a thread cannot acquire a lock on an object in java programming?

0 Answers  


Variables used in a switch statement can be used with which datatypes?

0 Answers  


There are 2 classes, 1 LandAnimal and another WaterAnimal. There is another class Animal which wants to have the properties of both LandAnimal and WaterAnimal. How will you design this situation?

6 Answers   KPIT,


Categories