JAVA TEST PAPER:
Hello friends today i'm giving a task according to java programming.you have chance to prove your programming skills and knowledge.
what all question i'm giving all of questions are most important according to the interviews and today's programming. I'm sharing my thoughts and coding skills.
If you know the answers then you should reply me through the comment.you have 24 hours to prove your programming skills.after then i will answers all of the questions.let's start.
1.when ever we are creating the object of child class then parent class object created or not with prove.
2.we can't create object of abstract class but abstract class can contain constructor why?.what is the role of constructor.
3.we can't create object of interface and abstract class but interface doesn't contain constructor but abstract class can contain constructor why?
4.Inside interface every method is abstract and we can declare abstract inside the abstract class ,then we can replace interface by abstract class or not?.
5..If two interface contains a method with the same name and signature but return types must be different ,then how you can implement both interface simultenesouly.
Best of luck guys go for it and don't forget to reply all answers ,if you do anything wrong then don't you worry i will explain you all answers with prove.