if i have one string class then how can you achive this
class functionality of this class?
Answers were Sorted based on User's Feedback
Answer / ganesh
MyString extends String{
}
This will give all the functionalites of String Object for
MyString
Above code is not working. because String is a final class.
Final class can't be extend.
| Is This Answer Correct ? | 9 Yes | 2 No |
Answer / n. bala subramanian
MyString extends String{
}
This will give all the functionalites of String Object for
MyString
| Is This Answer Correct ? | 0 Yes | 5 No |
Can you have a constructor in abstract class?
as we know a static method could access static data and static method only. then how could main method call the object of aclass which is not static and other non static data
What is the use of :: in java?
What are the steps in the jdbc connection?
can u handle an error if u write Thowable in the catch class lise try { some errorneous code }catch(Throwable e){ ...}
What are 3 boolean operators?
Can java program run without jre?
What is autoboxing and unboxing?
whats the life cycle of jsp
i need source code for income tax program using java inheritance
What is stack example?
Difference between Hash Table and Hash Map?