Posts

Showing posts from February, 2020

asp interview questions

Image
1. What is ASP ? Answer: ASP stands for Active Server Pages. It is a server side technology which is used to display dynamic content on web pages. For example you could write code that would give your visitors different information, different images or even a totally different page depending on what browser version they are using. 2. How can you disable the browser to view the code? Answer: Writing codes within the Tag 3. What is a "Virtual Directory"? Answer: Virtual directories are aliases for directory paths on the server. It allows moving files on the disk between different folders, drives or even servers without changing the structure of web pages. It avoids typing an extremely long URL each time to access an ASP page. 4. Give the comment Tags for the following? Answer: VBScript : REM & ‘(apostrophe) JavaScript : // (single line comment) /**/ (Multi-line comments) 5. Which is the default Scripting Language of ASP (server-side)? Answer:  [...

Java Interview Questions - Birdofy

Image
1.  What is Java ..? Ans:- Java is a programming language and a platform. Platform Any hardware or software environment in which a program runs, known as a platform. Since Java has its own Runtime Environment (JRE) and API, it is called platform. 2. What is the difference between a JDK and a JVM..? Ans:-  1) What is the difference between a JDK and a JVM? JDK is Java Development Kit which is for development purpose and it includes execution environment also but JVM is purely a run time environment and hence you will not be able to compile source using JVM. 3. Which are the different segments of memory JVM uses..? Ans:- a.  Stack Segment - contains local variables and Reference variables (variables that hold the address of an object in the heap). b.  Heap Segment - contains all created objects in runtime, objects only plus their object attributes (instance variables). c.  Code Segment - The segment where the actual compiled Java byte codes res...