What is the scope or life time of instance variables?


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

Post New Answer

More Core Java Interview Questions

Why volatile is used in java?

0 Answers  


Write a program to print the pattern given below

0 Answers  


Explain when noclassdeffounderror will be raised ?

0 Answers  


What is hard code & soft code?

7 Answers   Cognizant, Wipro,


How many threads can java run?

0 Answers  






What are the differences between stringbuffer and stringbuilder?

0 Answers  


How can we get one Interface methods whit out using implementation of interface

1 Answers   Oracle,


What is an association?

0 Answers  


Difference between String & StringBuffer

16 Answers   IBM, Infosys, Tech Mahindra, Wipro,


What is collection sort in java?

0 Answers  


Is it possible to write JAVA program without including any of the packages,such as "import java.io.*"; bcoz I instantly wrote a code without "import..." statement and runned the program on command Line & it worked. the code is: class Person { String name; int age; Person(String s,int a) { name = s; age = a; } accept() { System.out.println(name+"Hi!!!!!"); System.out.println(age); } } class Demo { public static void main(Strings args[])throws IOException { String name = args[0]; int age = Integer.parseInt(args[1]); Person p = new Person(name,age); p.accept(); } }

3 Answers  


What is a instance variable?

0 Answers  


Categories