can we declare private class in java file?
Answers were Sorted based on User's Feedback
Answer / aditya kumar
yes,from Java8 we can also declare private and protected Top level classes.....but i am not getting the reason behind this why oracle did it.So if any one has it's explanation plz tell me....
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / varsha vilas kalebag
yes we can declare private class in java file
Is This Answer Correct ? | 46 Yes | 131 No |
Define a java class.
What are variable arguments or varargs?
what is the use of datasource in core java?
Does apple use java?
Which characters are allowed to use as the second character of an identifier, and which characters are not allowed?
What is final class?
What is procedure overloading?
Write a code to create a trigger to call a stored procedure
Can an arraylist be empty?
What are the 3 types of loops in java?
perpare on factorypattern,linklist wothout using collection, (multitharding ie create producer/customer therad producer create Queue continuesly,consumer consume queue, consumer wait if queue is full,producer wait if queue is empty),diff betn sleep(1000)&wait(1000) these r the main Q ask in huawei(2008)
what is the Arraylist limit (maximum) by default ?
13 Answers Fidelity, PlanetSoft, Wipro,