Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


If one class havent the constructor, it has normal method,
then can i use super keyword to call the method form the
sub class and vice verse?

Answers were Sorted based on User's Feedback



If one class havent the constructor, it has normal method, then can i use super keyword to call th..

Answer / srikanth

no,without constructer we cant call super class members

Is This Answer Correct ?    1 Yes 0 No

If one class havent the constructor, it has normal method, then can i use super keyword to call th..

Answer / nivas

yes.we can use it.for ever class super class should be called

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Java Related AllOther Interview Questions

How do you type the lambda symbol?

0 Answers  


In a barber shop there are 2 doors. customer come in 1 door, leave in other. minimum # of chairs. barber spend his life in cutting. always barber can cut 1 customer. few chairs in the shop. if barber busy customer waits, if chairs full, customer leave. if no customer, barber sleeps. treat barber and customer as 2 threads. you can use Semaphore class with arrive and depart and count as parameter.

0 Answers   NCR,


when a program class implements an interface it must provide behavior for..?

1 Answers  


Is java an api?

0 Answers  


How do you count in java?

0 Answers  


Can we install jre without jdk?

0 Answers  


What is a dao layer in java?

0 Answers  


What is cache in java?

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,


Why we need method overriding in JAVA ? I mean which method I have to override I can write that method in my Class.

1 Answers  


How do I enable java in firefox?

0 Answers  


What is connection pooling in java?

0 Answers  


Categories