can u define list instance is final
final List l;
what will happen?
can u define list instance is final
final List l;
what will happen?
No problem u can declare but when added some elements to list, and trying to modify the list, it is not acceptable.In the sence u just can not modify its contents,but u can add contents.
if i run my java program it shows file not found : Example.java.wat can i do now.give me a solution
There are currently 1 users browsing this thread. (0 members and 1 guests)