Thursday, October 13, 2011



Let me start with the technical part..... some frequently asked basic questions...


Difference betweent HTML and XML


1.     Hyper Text Markup Language 
        eXtensible Markup Language


2.     HTML:        Not case sensitive
        XML   :        Case sensitive


3.     HTML:        Cannot define own tags
        XML:            Can define own tags


4.     HTML:        Need not close all the tags
        XML:           Mandatory to close all the tags


5.    HTML:          It creates Static web pages
        XML:            It Creates dynamic web pages.


In an object oriented programming what is an abstract class....????


It contains abstract methods and other normal methods
These methods can be inherited and provided the definition for the method.
Abstract methods cannot be instantiated.


Java Vs Multiple Inheritance


The common problem with multiple inheritance is that each of the base classes might contain data members and member functions that have the same name.  This leads to ambiguity problem at compile time.  
So java provides interface concept for this.  So in java multiple inheritance is possible but by interface.


Difference between virtual and override concepts:


An override provides a new implementation of members inherited from base class
You cannot override a non-virtual/ static method.  The overridden base method must be virtual/ abstract/ override.


Java has 47 keywords.


COBOL:            Common Business Oriented Language


Lisp:                  List Processing


FORTRAN:       Formula Translation


No comments:

Post a Comment