Interview Questions

Q:

What is the use of super call?

Answer

By using super call we can call super class constructors  from sub class constructors and we can initialize super class private data.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2053
Q:

Differentiate different types of Doctypes from one another.

Answer

Doctype helps the web browser to correctly render the web pages. There are different types of Doctype that are available and they are as follows:


=> Strict Doctype: it consists of all the HTML elements and it is also known as DTD (Document type definition) but it doesn't include the presentational and deprecated elements i.e. font, center, etc. Framesets related elements are also not allowed in this. For example:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"


"https://www.w3.org/TR/html4/strict.dtd">


=> Transitional Doctype: it consists of all the HTML elements and attributes. It is also known as DTD (Document type definition). It includes the presentational and deprecated elements i.e. font, center, etc. Framesets related elements are also not allowed in this. For example:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"


"https://www.w3.org/TR/html4/loose.dtd">


=> Frameset Doctype: it consists of all the HTML elements and attributes. It is also known as DTD (Document type definition). It includes the presentational and deprecated elements i.e. font, center, etc. Framesets related elements are also allowed in this. For example:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"


"https://www.w3.org/TR/html4/frameset.dtd">

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2051
Q:

Can HTML 5 get the geographical position of a user?

Answer

- Yes, HTML 5 can get the location of a user with the use of Geolocation API.


- Use getCurrentPosition() method to get the user’s current position.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2051
Q:

In a DB2-CICS program which acts as co-ordinator and which is the participant?

Answer

DB2 acts as the participant and CICS acts as a co-ordinator


 

Report Error

View answer Workspace Report Error Discuss

0 2050
Q:

SQL vs. PL/SQL

Answer

SQL is a structured query language while PL/SQL is an extension of SQL by introducing a procedural flow. PL/SQL has blocks of statements. PL/SQL works like other procedural languages and has concepts like control statements, sequential statements, exception handling etc.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2050
Q:

By monitoring ad campaign performance, an advertiser may obtain the information needed to

A) determine if campaigns are meeting overall marketing and conversion goals B) create additional AdWords accounts for low-performing keywords
C) compare campaign performance to that of individual competitors D) create duplicate ad groups with identical keywords and different ad variations
 
Answer & Explanation Answer: A) determine if campaigns are meeting overall marketing and conversion goals

Explanation:

By monitoring ad campaign performance an advertiser may obtain the information needed to determine if campaigns are meeting overall marketing and conversion goals compare campaign performance to that of other advertisers create separate adwords accounts for low-performing keywords create duplicate ad groups with identical keywords and different ad variations.

Report Error

View Answer Report Error Discuss

Filed Under: Advertising and Media

0 2049
Q:

How to check that whether the file object is pointing a folder or not?

Answer

boolean isDirectory();

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2048
Q:

What is the difference between path and classpath?

Answer

Path contains path of .exe files(commands).


Classpath contains path of packages. packages can be stored in folder or .jar files

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2048