whats is the use of final,in which situation final can be
used in the application?
Answers were Sorted based on User's Feedback
Answer / muralisankar
you can prevent a class from inheritance.
You can prevent a method from overriding.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / cool_duzz
Constants.. that are not supposed to be changed ever.
Is This Answer Correct ? | 1 Yes | 0 No |
What is vector?
suppose we have an interface & that interface contains five methods. if a class implements that interface then we have to bound that to give tha definition of all five methods in that class. If we declare that class as abstract then can we call only two methods to give the deinition of that method & i don't want to give the definition of all the methods? can it possible
What’s the difference between constructors and other methods?
How does varargs work in java?
How do you sing an Applet ?
Does substring create a new object?
Difference between Linked list and Queue?
Given: 1. package test; 2. 3. class Target { 4. public String name = “hello”; 5. } What can directly access and change the value of the variable name? 1 any class 2 only the Target class 3 any class in the test package 4 any class that extends Target
How is rounding performed under integer division?
what is deadlock? : Java thread
What is difference between next () and nextline () in java?
What is the base class of all exception classes?