Answer Posted / nagireddy.siddaka
my answer is like this
class A{
int a;
int b;
A(){
this.a=12;
this.b=14;
)
| Is This Answer Correct ? | 17 Yes | 3 No |
Post New Answer View All Answers
Can a constructor have different name than a class name in java?
What is a final class in java?
What is the differences between c++ and java? Explain
what r advatages of websphere? & how to deploy?
How many ways can we create singleton class?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
What are identifiers in java?
what is object slice?
Differentiate between the constructors and methods in java?
What is multithreading and its advantages?
What is covariant return type?
What data type is true or false?
What are namespaces in java?
What is a return in java?
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.