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

Why is struts used in java?

0 Answers  


Explain daemon thread.

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  


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,


Explain the encapsulation principle.

0 Answers  


What is an action class in java?

0 Answers  


Differences between intermediate operations and terminal operations of java 8’s stream api?

0 Answers  


What are the disadvantages of java sockets?

0 Answers  


What is singleton pattern in java?

0 Answers  


Are there tuples in java?

0 Answers  


What is dto in java?

0 Answers  


Why are lambda functions called lambda?

0 Answers  


Categories