Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: How can one consider different browsers differently ?

While interviewing candidates we came across some funny and somewhat tricky questions about Java and C#. Some of them can be answered instantly; some will puzzle you for a little bit as it was in the case when we asked or heard them for the first time.

Tutorial Details:

Java C#
J A V A
When should an interface extend an abstract class and visa-versa?
When must local variables be synchronized?
How do you guarantee that finally is called everywhere it is used?
When is it best to declare a method final in an interface?
When is it best to declare a method abstract final?
How to best use static objects?
What\'s the best usage of JMS \"temporary topic queues\"?
How to best use a static top-level class?
How to best use a private top-level class? Protected?
What is the best use of static local variables?
How about public local?
When is the constructor in a method called?
When you should call run() method in java.lang.Thread class?
How to make Javadoc comments disappear from compiled bytecode?
How to make class non-final?
How to achieve class field polymorphism?
What is 0xCAFEBABE?
What is the naming convention for anonymous inner classes?
Where should you use the following construct: if (this != null) { ... } else { ... } ?
C #
When is the best to declare local variable internal?
When you have to call destructor in C#?
When it is useful to declare const variable static in C#?
When you declare (not instantiate) delegate as static?
When you have to use boxing for string?
What is the differnece between ref and out?
When and how to use checked exceptions in C# code?


 

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
How can one consider different browsers differently ?

View Tutorial:
How can one consider different browsers differently ?

Related Tutorials:

Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.