Can static methods access instance variables in java?
No Answer is Posted For this Question
Be the First to Post Answer
public class Test { public static void main(String ar[]) { Integer a = 10; Integer b =10; Integer c = 145; Integer d = 145; System.out.println(a==b); System.out.println(c==d); } }
can we create a instance for intwerface?
If a multi threaded Java program has started numerous number of threads, at any point in time how to know which thread is currently executing/running ?
7 Answers Accenture, College School Exams Tests, iFlex, NIIT,
What is boolean query?
What means public static?
Can we have two methods in a class with the same name?
What do you mean by append?
What is the benefit of using enum to declare a constant?
if u open login & logout ,how can udisplay the timelogin & logout members ?
What is dynamic array in java?
Explain different forms of polymorphism?
How to check if linked list contains loop in java?