GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Certification  >  Sun  >  310-011
Go To First  |  Previous Question  |  Next Question 
 310-011  |  Question 682 of 683    Print  
what is the differense between native and abstract?
can we declare a method as native inside an interface?if yes then why? if no then why not?

  
Total Answers and Comments: 2 Last Update: November 14, 2006     Asked by: somesh 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 20, 2006 06:09:44   
Mallikarjuna        

RE: what is the differense between native and abstract...

Hi

Native keyword is user to execute external code (c C++) in java.


 
Is this answer useful? Yes | No
November 14, 2006 04:18:52   
Sunil Pratap Singh        

RE: what is the differense between native and abstract...

Native keyword is prefixed with method name when we want that method to be implemented using a native language like c and c++. So in the class we only declare the method and the defination of the method is in the dll file.

Abstract key word is used to mark a method or a class as logically incomplete. The class which extends this class has to provide the defination of the method or has to declare the derived class as abstract.

We can not declare a native method inside a interface because by declaring a method in an interface we want all the implementers to give definations to the methods defined.But by declaring a method native we mean that the implementation will come from some native language.


 
Is this answer useful? Yes | No

 Related Questions

Which of the following is the minimum requirement to install Solaris 7 on sparc platform ?a. Either a CDROM drive or a Network Interface Card b. A CDROM is a must c. A Network Interface Card is a must d. Both CDROM and a Network Interface Card
Answer: A 

Which openboot command will test the network interface card ?a. net b. test net c. test nic d. ?net
Answer: B 

You are in one of the openboot command line interfaces and you see the “OK” prompt. Which command line interface are you at ?a. forth monitor b. console monitor c. backup monitor d. restricted monitor
Answer: A 
Tags : Backup

You are in one of the openboot command line interfaces and you see the “>” prompt. Which command line interface are you at ?a. forth monitor b. console monitor c. backup monitor d. restricted monitor
Answer: D 
Tags : Backup

From the OK prompt, what command should you run to install Solaris 7 via the network using the Web Start method?
Answer: boot net – browser  

From the OK prompt, what command should you run to install Solaris 7 from the CDROM using the Web Start method ?
Answer: boot cdrom – browser  

What is the differense between native and abstract?can we declare a method as native inside an interface?if yes then why? if no then why not?
Read Answers (2) | Asked by : somesh
Tags : Abstract


 Sponsored Links

 
Related Articles

Performing XSLT Transformations inside the Database

Performing XSLT Transformations inside the Database Now that you have the employees XSL stylesheet stored in the database and the xmlusr schema is permitted to access the hr employees table you can create a script that will instruct the database to build an HTML page based on the data stored in hr e
 

Performing XML Processing inside the Database

Performing XML Processing inside the Database When building XML enabled applications on top of Oracle there are many advantages to performing the XML processing inside the database when compared to performing it on the client The key advantages to perform XML processing inside the database are as fo
 

High-Speed Serial Interface (HSSI)

High Speed Serial Interface HSSI HSSI is High Speed Serial Interface was first developed by Cisco systems and the main purpose was to solve high speed requirement issues The main application of HSSI is on the Wide Area Networks and it helps to enhance the data flow speed on these networks It can wor
 

Fiber Distributed Data Interface (FDDI)

Fiber Distributed Data Interface FDDI The Fiber Distributed data interface or the FDDI is a 100 mbps line using the LAN network and is connected through a fiber optic cable The FDDI technology is used where the networks need a high speed bandwidth and need to cover huge distances than the copper wir
 

SOA Definitions and Certification

SOA Definitions and Certification Service Oriented Architecture is a design that enables Business and computational resources to be linked together on demand as a means of achieving the results desired for service consumers which may be end users or other services Service Oriented Architecture has
 

What is Common Data Modeling Method

Common Data Modeling is one of the core considerations when setting up a business data warehouse. Any serious company wanting to have a data warehouse will have to be first serious about data models. Building a data model takes time and it is not unusual for companies to spend two to five years just
 

Tips for Oracle Certification

Getting an Oracle certification is reliable credential recognized by industries that can accelerate professional development and their productivity. So this article provides some tips for getting this oracle certification.  First one must plan well to allocate their time for prepari
 

Oracle Certification and its Importance

Oracle certifications are valid credential recognized by industry that can help one to succeed in their IT career. Oracle is the largest enterprise software company and to get the oracle certification from this company is really a great credit to career.  The Oracle Certification Progr
 

Insight on SAP Certification

The demand for SAP remains strong which makes experience as the paramount in finding work as an SAP consultant or programmer and along with this certification can provide concrete evidence of SAP expertise. The other main reason for certification playing an important role is because the certified
 

VoiceXML Certification Opportunities

At first, the certification program will place an emphasis on the platforms of VoiceXML. The tools and applications would be tested, and to pass the certification program, the system must be in compliance. The process of certification for VoiceXML products will be processed by the members of the Fo
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape