What is the nested interface?


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

Post New Answer

More Core Java Interview Questions

What is static method with example?

0 Answers  


Why to use nested classes in java? (Or) what is the purpose of nested class in java?

0 Answers  


How can we run a java program without making any object?

0 Answers  


What is a platform?

0 Answers  


What is a dynamic array in java?

0 Answers  






Explain the difference between an object-oriented programming language and object-based programming language?

0 Answers  


public class Garbage { int a=0; public void add() { int c=10+20; System.out.println(c); System.out.println(a); } public static void main(String args[]) { Garbage obj=new Garbage(); System.gc(); System.out.println("Garbage Collected"); obj.add(); } } Above is a code in java used for garbage collection. object obj has been created for the class Garbage and system.gc method is called. Then using that object add method is called.System.gc method if called the obj should be garbage collected?

6 Answers  


Can a final variable be null?

0 Answers  


How many return statement are allowed in a function?

0 Answers  


What is literal example?

0 Answers  


What is a qualifier in a sentence?

0 Answers  


How can we make sure main() is the last thread to finish in java program?

0 Answers  


Categories