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


Comment: C++ "includes" behavior and java "imports"



Comment: C++ "includes" behavior and java "imports"..

Answer / chaitanya

fine...........
in C++ we wrote #include<@@@@@@@@@>
because it accessing the functions,keywords....etc from
that header file.
But in Java we imports the classes i mean....
inherits the behaviour of that imported class
ex: import java.*;
the properties(all functions,...etc data) of the java class
will comes to what classes we wrote in the program.


FROM:
MICHAEL JACKSON(King Of Pop)

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More OOAD Interview Questions

Where shall I go for Package Diagram?

1 Answers   Protech,


Is class an Object? Is object a class?

11 Answers  


Why are virtual users created?

0 Answers   Wipro,


What are the Design Patterns you know.

2 Answers   InfoAxon Technologies, Protech,


Are constructors inherited? Can a subclass call the parent's class constructor? When?

0 Answers  


Can I implement polymorphism using abstract class?

0 Answers   MCN Solutions,


In winform my controls [taskbar and progressbar] become inactive when heavy processing is going in background, how to avoid this via multithreading

1 Answers   Hexaware,


What is multiple inheritance? How java 8 supports multiple inheritance?

0 Answers  


What is garbage collection(gc)?

0 Answers  


What is the main advantage of using inheritance?

0 Answers  


How many methods are there in the externalizable interface?

0 Answers  


What is diamond inheritance problem? How java 8 solves this problem?

0 Answers  


Categories