can we declare private class in java file?

Answer Posted / shreya sarker

Within a static method,we can only call another static
method.Is it true?

Is This Answer Correct ?    29 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are user defined exceptions?

582


Can you make a constructor final in Java?

621


What is jvm? How its run?

653


What is the difference between inheritance and encapsulation?

587


how does multithreading take place on a computer with a single cpu? : Java thread

686






What is internal iteration in java se 8?

621


What is the default value of float and double datatype in java?

528


What is the difference between JVM and JRE?

616


How to check if a list is sorted in java?

582


How does a for loop work?

496


Can we change the scope of the overridden method in the subclass?

836


Where is the find and replace?

526


Java is pass by value or pass by reference? Explain

528


What is the scope or life time of instance variables?

648


What is static data type in java?

533