Can you have an inner class inside a method and what
variables can you access?

Answer Posted / janet

yes, we can have an inner class inside a method and final
variables can be accessed.

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you bind variables?

523


Which collection is sorted in java?

543


Is java written in c?

538


State differences between C and Java?

656


Is arraylist zero based?

553






What languages are pass by reference?

536


What is return data type?

555


How do you represent a space in regex java?

516


How do you find the independent variable?

512


What is the difference between choice and list?

588


In a class implementing an interface, can we change the value of any variable defined in the interface?

555


What is the purpose of checked and unchecked exceptions in JAVA?

564


What is the difference between length and length() method in java?

639


what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent

1727


make a method which any number and any type of argument and print sum of that arguments.....

1377