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

Why is string buffer better than string ?

813


Describe how to implement singleton design pattern in struts.

782


Does hashset allow duplicates in java?

835


Can constructor be synchronized?

762


What is the internal implementation of set in java?

715


How to reverse string in java?

883


Which collection allows duplicate values in java?

759


How many bits is a string?

771


How do you escape sequences in java?

829


Explain an algorithm to find depth of a binary tree.

816


How to make a non daemon thread as daemon?

837


What is ctrl m character?

761


How do you check if a character in a string is a digit or letter?

819


What is a dynamic array java?

738


Why bytecode is called bytecode?

836