Posts

OOPS vs. OOP – What “s” stands for?

Image
In this article: Explores the meaning of OOP and OOPS. At the end of this article you will be able to differentiate OOPS and OOP. This may be part of your interview question on Design pattern. The background: This is most common misunderstood short form related to object oriented paradigm. If somebody asks which paradigm you use or on which paradigm Java works. We generally answer it as OOPS or OOPs. And here we do mistake. Also this came as a conundrum when interviewer asked to my buddy what “s” stands for. Explore This: First grab the full form, then I will explain it further— Differentiate OOPS and OOP Oops!! Yes. This is the sound you must whisper. Well OOP you already know, following is the definition of OOPS (actually oops – not in CAPS) Yes this is official definition of oops.

Java History Interview Questions

1. Why JAVA language is developed? Ans: JAVA is Developed with an intention to let application developers "write once, run anywhere" (WORA), meaning that compiled Java code can run on all platforms that support Java without the need for recompilation.Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of computer architecture. 3. What are the important features of Java? Ans: There is given many features of java. They are also known as java buzzwords . The Java Features given below are simple and easy to understand. Simple Object-Oriented Platform independent Secured Robust Architecture neutral Portable Dynamic Interpreted High Performance Multithreaded Distributed 4. What is OAK? Ans: Oak was a programming language created by James Gosling in 1991, initially for Sun Microsystems set-top box project. The language later evolved to become Java. The name Oak was used by Gosling after an oak tree t...

Types of Url patterns?

Url-pattern is the name which is used by the client to communicate with a servlet or even a jsp.  Url-patterns can be specified in the following ways. 1)      Exact match method 2)      Directory match 3)      Extention match 1)Exact match             This method required the url-pattern to start with slash '/' and should not end with star '*' .             Ex:  <url-pattern>/sample/first</url-pattern> 2)Directory match             In this method the url-pattern should start with a slash '/' and usually terminates with a star '*' .             Ex:  <url-pattern>/sample/*<url-pattern> 3)Extention match        ...