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 |
Can an abstract class be a final class?
Name four container classes.
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 set allows null in java?
What causes memory leaks in java?
What is the collection interface?
If there is no implementation of MARKER INTERFACE in java. Then how compiler come to know about specification.
What technique is carried out to find out if a particular string is empty?
How do you escape json?
What is Yield() method when we r using this ? tell exactly
Is nan false?
How to deprecate a method? Show it with proper example. Plz give the answer of this.Thanx in advance. mail me: tanzeem.akhtar@gmail.com