Which all r Final classes in java except string?
Answers were Sorted based on User's Feedback
Answer / tanuj
Math class is also a final class as String class .
Is This Answer Correct ? | 117 Yes | 9 No |
Answer / umesh
String Buffer,Wrapper class,Math class are Final classes in
java
Is This Answer Correct ? | 78 Yes | 13 No |
Answer / srinivas
String, Stringbuffered, All Wrapper class, Math class and
System also final classes
Is This Answer Correct ? | 61 Yes | 6 No |
Answer / farouq
Some of default final classes in java
1)String
2)Boolean
3)Double
4)Integer ..this goes on ( ithnk u catch it ....Wrapper
classes)
5)Math
6)MathContext
7)Void
8)UUID
9)URL ,URI and UID
10)Subject are some of them....
Is This Answer Correct ? | 39 Yes | 6 No |
Answer / sudhakar.m
String, string buffered,StringBuilder,
Math,Void,StrictMath,Class are also final classes
Is This Answer Correct ? | 37 Yes | 6 No |
Why is it called a string?
Is java free for commercial?
How many bits is a double?
Can we create more than one object singleton class?
Why we go for collections in java?
What is a default package ?
What is variable explain?
When should I use a singleton?
What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).
2 Answers Infinite Computer Solutions, TCS,
Where are the card layouts used?
Find the value of a specified element of the array arr[i] where 0 <= i <= n-1
What is the implementation of destroy method in java. Is it native or java code?