Can you access non static variable in static context?


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

Post New Answer

More Core Java Interview Questions

What is meant by Java ?

2 Answers   CMC, Infosys,


How do you override a method in java?

0 Answers  


What is included in core java?

0 Answers  


Explain Basics of OOP Language in java

0 Answers   Atos Origin,


We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.

0 Answers   Symphony,






suppose in a class there is a code like this: { Set hs=new Hashset(); hs.add(new Emp("kathy",1000)); hs.add(new Emp("kathy",2000)); } how can u avoid the above code in your class as set won't allow duplicate objects?

3 Answers  


How to create a custom exception?

0 Answers  


What is the difference between preemptive scheduling and time slicing in java programming?

0 Answers  


Explain try and catch keywords in java?

0 Answers  


What is slash r?

0 Answers  


What are the parameters used in Connection pooling?

1 Answers   IBM,


What is treeset in java?

0 Answers  


Categories