link mingle home | logged in as: guest | login/register| submit link


IndiaDiscuss.com : Social Bookmarkings and News Networking Site for India
java
Bookmarks
Home » java »
Interview Questions RSS
Save Link Create/Add to List

Differences between Java and C++
saved under Interview Questions/C++ by java

This article is intended to provide a technical overview over the differences between the Java and C++ programming languages. The article lists aspects that are present in Java and absent in C++. The list does not claim to be complete. Knowledge of either Java or C++ is assumed. Aspects of performance or of protection of implementation secrets are not covered here. The status of this article is ongoing.
http://www.lrdev.com/lr/java/javacppdiffs.html
created by java on 2008-05-20 21:17:40

Differences Between Java and C/C++
saved under Interview Questions/C++ by java

The focus of this appendix is to point out the differences between Java and C++. If you are a C++ programmer, you will be able to appreciate the differences between Java and C++. Even if you don't have any C++ experience, you can gain some insight into the Java language by understanding what C++ discrepancies it clears up in its implementation. Because C++ backwardly supports C, many of the differences pointed out in this appendix refer to C++, but inherently apply to C as well.
http://docs.rinet.ru/Jintra/appe.htm
created by java on 2008-05-20 21:15:55

Diffrence Between Notify & NotifyAll (Threads and Synchronization forum at JavaRanch)
saved under Interview Questions/notify vs notifyAll by java

# In case of notify() only one thread will get to the RUNNING state and other will be in WAIT state # In case of notifyAll() only one thread will get to the RUNNING state and other will be in BLOCKED state
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb
created by java on 2008-05-20 00:41:53

Java Quick Reference - Threads - notify() and notifyAll() methods
saved under Interview Questions/notify vs notifyAll by java

* notify() wakes up a single thread which is waiting on the object's lock * notifyAll() wakes up ALL waiting threads; the scheduler decides which one will run
http://www.janeg.ca/scjp/threads/notify.html
created by java on 2008-05-20 00:47:07

Abstract classes and interfaces practicum - Java World
saved under Interview Questions/Abstract vs Interface by java

Move from theory to practice on when to employ abstract classes vs. interfaces
http://www.javaworld.com/javaworld/javaqa/2001-08/
created by java on 2008-04-28 00:16:24

interface vs abstract class : Java Glossary
saved under Interview Questions/Abstract vs Interface by java

You can offer the best of both worlds, an interface and an abstract class. Implementors can ignore your abstract class if they choose. The only drawback of doing that is calling methods via their interface name is slightly slower than calling them via their abstract class name.
http://mindprod.com/jgloss/interfacevsabstract.htm
created by java on 2008-04-28 00:18:25

When does it make sense to choose an abstract class over an interface? - Java World
saved under Interview Questions/Abstract vs Interface by java

Choosing interfaces and abstract classes is not an either/or proposition. If you need to change your design, make it an interface. However, you may have abstract classes that provide some default behavior. Abstract classes are excellent candidates inside of application frameworks.
http://www.javaworld.com/javaworld/javaqa/2001-04/
created by java on 2008-04-27 23:23:28

JavaRanch FAQ : Interface Vs Abstract Class
saved under Interview Questions/Abstract vs Interface by java

* use an abstract class, if you want to provide common implementation to subclasses, * use an abstract class, if you want to declare non-public members, * use an abstract class, if you want to be free to add new public methods in the future, * use an interface if you're sure the API is stable for the long run * use an interface if you want to provide the implementing classes the opportunity to inherit from other sources at the same time.
http://faq.javaranch.com/java/InterfaceVsAbstractC
created by java on 2008-04-27 23:54:44

Abstract Class vs Interface
saved under Interview Questions/Abstract vs Interface by java

abstract class defines core identity. If we are thinking in term of speed then abstract is fast then interface because interface requires extra in-direction. So as per my view Abstract class having upper-hand in compare to interface. Using interface having only advantage of multiple inheritance. If you don’t understand the things then don’t worry because it’s my mistake because I am not able to describe the topic.
http://geekswithblogs.net/mahesh/archive/2006/07/0
created by java on 2008-04-27 23:49:42

0
 
IndiaDiscuss | Published News | Hot
Indian Social News and Links Network
IndiaDiscuss | Published News
Indian Social News and Links Network