nikhlesh


{ City } hyderabad
< Country > india
* Profession *
User No # 8284
Total Questions Posted # 0
Total Answers Posted # 5

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 299
Users Marked my Answers as Wrong # 19
Questions / { nikhlesh }
Questions Answers Category Views Company eMail




Answers / { nikhlesh }

Question { Oracle, 32524 }

Difference between this(), super()?


Answer

this() call one of user define constructor inside another user constructor of the same class such as this(a), this(a,b) & so on.
super() call one of base class constructor inside the derive class constructor such as super(a), super(a,b) & so on.

Is This Answer Correct ?    26 Yes 5 No

Question { 13743 }

Can you call a constructor within a constructor?


Answer

We can call one of base class constructor inside derive class constructor by using predefine variable "super()" such as super(a), super(a,b) and so on.

Is This Answer Correct ?    3 Yes 0 No


Question { 14314 }

What is an abstract class and abstract method?


Answer

Abstract Method:- The method which is define in the class without bodies that is without implementation is call as Abstract Method. & all the Abstract Method must be define with abstract keywords.

Abstract Class:- The class which is define with some abstract method is called as Abstract Class. & all the Abstract Method must be define with abstract keywords. We cannot created the object of abstract class.

Is This Answer Correct ?    18 Yes 2 No

Question { BMC, 9152 }

What is Interface?


Answer

Interface is a mechanisms used to interact with or communicate with some external devices such as data base through the java application. & every interface is define with collection of abstract function.

Is This Answer Correct ?    0 Yes 0 No

Question { Wipro, 68068 }

Why Java is a platform independent language?


Answer

The compiler converts source code file into bytecode files. These codes are machine independent and can be run on any machine. Java interpreter reads the bytecode files and translates them into machine code for the specific machine on which the Java program in running.

Is This Answer Correct ?    252 Yes 12 No