can we declare private class in java file?

Answer Posted / ravikiran

No for the outer class and we can declare it for the inner
class.

Is This Answer Correct ?    59 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an image buffer?

531


What is java in simple terms?

544


What is the size of arraylist in java?

601


Can a final method be overloaded?

502


What is the similarity between dynamic binding and linking?

601






What do you mean by Function Overloading in java?

620


Does constructor creates the object ?

576


What is consumer interface?

552


How destructors are defined in java?

620


What is integer size in java?

501


How does predicate work in java?

527


What is the major difference between linkedlist and arraylist?

504


Can you use abstract and final both with a method?

569


Is age a discrete variable?

520


What are the four versions of java?

536