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...


they asked class A{}
class B{}
class c{}
all the three class saved as a single file,there is no main
method in the file
and anothe class
M.java
class m
{
psvm(String args[])
{
// here the parent class can access
}
}

Answers were Sorted based on User's Feedback



they asked class A{} class B{} class c{} all the three class saved as a single file,there is no m..

Answer / suresh

Yes. You can call parent classes ( i.e A or B or C) inside
of class M by instantiate and invoke methods. If parent
classes have static methods you can directly access without
instantiating.

Is This Answer Correct ?    1 Yes 0 No

they asked class A{} class B{} class c{} all the three class saved as a single file,there is no m..

Answer / cool_duzz

What is the Question? Please explain...

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Core Java Interview Questions

What is a map? What are the implementations of map?

0 Answers  


How many types of keywords are there?

0 Answers  


What is the difference between char and char *?

0 Answers  


What is a J2EE component? List out all the component?

2 Answers   Adobe,


What is udp in java?

0 Answers  


what is the use of custom tags? with example?

1 Answers   Photon,


What is meant by final class?

0 Answers  


Do loops java?

0 Answers  


Is hashset sorted in java?

0 Answers  


Difference between arraylist and hashset in java?

0 Answers  


what is abstract method with example?

6 Answers   Infosys, Virtusa,


What is lambda programming?

0 Answers  


Categories