What is the difference between Super and This Keyword?

Answer Posted / skp

Call to super() should be the first statement in constructor instead of this(), otherwise it will result in compile-time error.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is orm?

666


what is the use of State Factories?

1898


What is the difference between system.out ,system.err and system.in?

591


Name the eight primitive java types.

586


Define aop(assepct oriented programing)?

623






How to determine SGA site?

1900


What is in-memory replication?

547


Can you give me a simple example of using the requiredif validator rule?

591


What is a session? Can you share a session object between different theads?

544


What is mdb and what is the special feature of that?

556


What is glasgow?

572


How many times may an objects finalize() method be invoked by the garbage collector?

665


What are the different methods of identifying an object?

562


cud u help me ... i am struggling with this question... to find all the subsets of a given set for ex.... a,,b,c shud give all the subsets.... i gt the program in c bt nt able to get it in java..... help needed ..

1722


What’s jboss cache in short?

582