GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  OOPS
Go To First  |  Previous Question  |  Next Question 
 OOPS  |  Question 59 of 255    Print  
Comment: C++ "includes" behavior and java "imports"

  
Total Answers and Comments: 2 Last Update: August 11, 2008   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
March 19, 2008 22:34:32   #1  
r.praveenkumar Member Since: October 2007   Contribution: 26    

RE: Comment: C++ "includes" behavior and java "imports"
by using include preprocessor kn c++  the program size will be slightly increased but when we use import statement in java the program size will not be increased at all
 
Is this answer useful? Yes | No
August 11, 2008 11:45:52   #2  
whenkeys Member Since: August 2008   Contribution: 4    

RE: Comment: C++ "includes" behavior and java "imports"
Both behave the same way except that when we import in java we can import single class also but we have to include a file and not a Class in C++.

eg: import java.lang        //you can even go to specific class here
      inlcude "iostream.h"  //you can only specify the header file and not the class

 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : uses and includes are the different avatars of the same concept. uses represents a concept in which one usecases uses the other. So when you invoke the former the latter is always invoked. Extends adds additional functionality, it is used when one ...

Latest Answer : Both behave the same way except that when we import in java we can import single class also but we have to include a file and not a Class in C++.eg: import java.lang        //you can even go to specific class here      ...

Latest Answer : I Think Computer languages have certain set of operators ,which the user can use while coding ,these operators have predefined meaning in the respective language i.e the operators can operate only on a specific set of variables/constants.Languages ...
Read Answers (2) | Asked by : Attique


 Sponsored Links

 
Related Articles

Service Oriented Java Business Integration Review

Service Oriented Java Business Integration Review Introduction If you ve read through the texts which give you an introduction to SOA or Web Services you will often find them to be quite frustrating and the reason for this is because they spend too much time referencing business processes which are
 

OOPS Tutorials

Object oriented programming OOP is a computer science term used to characterize a programming language that began development in the 1960’ s The term object oriented programming’ was originally coined by Xerox PARC to designate a computer application that describes the methodol
 

Java and Client Server Models

Java and Client Server Models The Role of Client Servers on the Web Client server models provide the essential mechanisms for working with the Internet In fact most of the World Wide Web is built according to this paradigm In client server models the web browsers run by millions of users are the cli
 

Using UML with Java

Using UML with Java While Java is not a new language its application for the development of embedded systems is quite new Developers are beginning to take a second look at modeling languages such as UML and many feel it can be a powerful tool in their development arsenal mosgoogle center Introductio
 

Java Technology Trends

Technology Trends Involving Java Java is an object oriented programming language OOP for Web browsers It is organized around data rather than actions and supports polymorphism which allows the same code to be written generically so it can function with different datatypes inheritance which allows on
 

The Inheritance Concept In OOPs

The Inheritance Concept In OOPs In object oriented programming objects will be characterised by classes It is possible to learn a lot about an object based on the class it belongs to Even if you are not familiar with the name Maybach If I told you it is a car you would immediately know that it has f
 

Understanding The Message Concept In OOPs

Understanding The Message Concept In OOPs To understand object oriented programming you will need to become familiar with messages As the name implies a message is a process in which software objects will communicate with one another Because of this having one object is not enough mosgoogle An objec
 

Why It is Important To Focus On Java Exceptions For Your Programs

Why It is Important To Focus On Java Exceptions For Your Programs If you work with Java it is important to understand exceptions Exceptions are uncanny situations that can destroy the normal behavior of a program mosgoogle They are common in the Java programming language and it is something you will
 

Important Features of Java - Multithreading, AWT

Important Features of Java Multithreading AWT In this tutorial you will learn about Important Features of Java Multithreading AWT and Event Handling Networking Socket and Database Connection mosgoogle There are many features of Java Some of them namely are explained below Multithreading A fundamenta
 

Basic concepts of OOPS and Structure of C++ program

Basic concepts of OOPS and Structure of C program In this tutorial you will learn about Objects Classes Inheritance Data Abstraction Data Encapsulation Polymorphism Overloading Reusability Before starting to learn C it is essential that one must have a basic knowledge of the concepts of Object orie
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape