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"

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1084


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

988


What's the benefit of using inheritance?

1114


Why do we separate interface from implementation?

1007


What is the significance of encapsulation?

994


What is meant by overloading functions and operators?

1056


How do I make sure that an object is released in code such as a connection or file object?

1059


What do you mean by virtual function and virtual classes?

1007


Which keyword can be used for overloading?

987


What is Polymorphism, overloading, overriding and virtual?

1090


What is data encapsulation and what's its significance?

1051


Which OOPS concept exposes only the necessary information to the calling functions?

1294


State two differences between an object and a class.

1113


What is the default access specifier in a class definition?

1014


Explain about inheritance in oops?

979