Javascript Interview Questions and Answers
interface having all abstract methods and doesnt have imp;ementation
client side
The onfocus event occurs when an object gets focus.
The onblur event occurs when an object loses focus.
The web server
When a request comes into the Web server, the Web server simply passes the request to the program best able to handle it. The Web server doesn’t provide any functionality beyond simply providing an environment in which the server-side program can execute and pass back the generated responses. The server-side program usually provides for itself such functions as transaction processing, database connectivity, and messaging.
The application server
Such application server clients can include GUIs (graphical user interface) running on a PC, a Web server, or even other application servers. The information traveling back and forth between an application server and its client is not restricted to simple display markup. Instead, the information is program logic. Since the logic takes the form of data and method calls and not static HTML, the client can employ the exposed business logic however it wants.
In most cases, the server exposes this business logic through a component API, such as the EJB (Enterprise JavaBean) component model found on J2EE (Java 2 Platform, Enterprise Edition) application servers.
Java script programs can not be run directly.
Java script codes are embedded with HTML,PHP OR ASP where
these code run with program.
Yes, Java is completely object oriented…! OOPS principle says that data should control the code that in java happens, while in procedural languages code control the data.
Even the primitive datatypes in java like int are represented in object, see wrapper classes.
Finally its follow, all OOPS principal, like Encapsulation, Polymorphism and Inheritance.