1.can i use super keyword in normal class(not inheritance)
to call any method?if so how can i call particular variable?
2.In the inheritance how can i access the particular
variable from the base class(it containing 5 variables)
using super keyword?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Java Related AllOther Interview Questions

What are anonymous methods and lambda expression?

0 Answers  


Do I need to install jre if I have jdk?

0 Answers  


What are the Advantages of java se 8 new features?

0 Answers  


What is servlets.

10 Answers   HCL, Infosys,


What does @override mean in java?

0 Answers  






there are 67 seats in train . there are only 5 seats in a row and in last row there are only 2 seats. One person can reseve only 5 seat at a time. If person reserving seat , the care is atken that he may get all in row. if seats are not available in row then the arrangement is so that person group get nearby seats. the following class is given public class seat { char name; int seat; boolean isSeatempty } 1.Draw require class digram and object diagram. 2.Write function seatallot(int noofperson) to allocate seat with seat nuber printed for the each name.

0 Answers   Sapient,


What is the difference between lambdas and delegates?

0 Answers  


What happens if javac is not recognized?

0 Answers  


program A and B are analysed and found to have worst case running time greater than 150NlogN and N*N respectively. which program has the better guarantee after the running time for the large values of N(N>10000)? which program has the better guarantee for the running time of small program N (N<100)? which program will run faster on average for N=1000?

0 Answers   St. Pauls University,


How do you create a jar file?

0 Answers  


What is javabeans api?

0 Answers  


When do we go for java 8 stream api? Why do we need to use java 8 stream api in our projects?

0 Answers  


Categories