What is local class in java?
Answer / Dimple Shukla
A local class in Java is a non-static inner class declared within the body of a method or a block-like statement. Local classes can access and manipulate final variables of the enclosing scope.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why singleton class is used in java?
how many access specifiers are available in java
When will you define a method as static in Java?
1 Answers SwanSoft Technologies,
String is an immutable object. Then how can the following code be justified. String s1 = ?ABC?; String s1 = s1+?XYZ?; s.o.p(s1); The output is ABCXYZ, which is the value of s1 ?
6 Answers Flextronics, Keane India Ltd,
Does 'true' and 'false' are keywords?
What is thread safe in java?
we r taking <load-on-startup>0</load-on-startup> <load-on-startup>1</load-on-startup> in deployment descripter for loading servlets like serv1 N serv2? so 'll it take serv1 or serv2
Hi am an mca graduate . i have done bsc maths in my degree . every company asks me why you make shift from maths group to computere field . What i need to answer?
What is difference between pointer and reference?
What is threaded programming and when is it used? : Java thread
What is function and method in java?
Write an algorithm for quick sort?