can we declare private class in java file?

Answer Posted / varsha vilas kalebag

yes we can declare private class in java file

Is This Answer Correct ?    46 Yes 131 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is field name?

587


Can an object subclass another object?

556


Can you instantiate the math class?

602


What is the super void?

459


Why is core java important?

576






What is a dynamic array in java?

565


How to create an interface?

625


What is "this" keyword in java? Explain

662


I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?

695


Describe the process as to how substring() methodology mechanisms in java.

561


Can a source file contain more than one class declaration?

512


What is method reference?

517


How do you do a line break in java?

494


How a string is stored in memory?

578


Is java call by value?

585