Interview Questions

Q:

What is an abstract class?

Answer

An abstract class is an incomplete class. An abstract class is defined with the keyword abstract . We cannot create an object of the abstract class because it is not complete. It sets a behavioral protocol for all its child classes.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1996
Q:

How to get contents of the folder?

Answer

File[] listFiles();


this method returns list of files stored in a directory.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1994
Q:

What are the various elements of OOPS?

Answer

Various elements of OOP are:


• Object


• Class


• Method


• Encapsulation


• Information Hiding


• Inheritance


• Polymorphism

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1990
Q:

The new product development process usually starts with

A) idea generation B) market strategy development
C) concept development D) idea screening
 
Answer & Explanation Answer: A) idea generation

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Marketing and Sales
Exam Prep: CAT
Job Role: Analyst

6 1989
Q:

If super class ref is pointing sub class object then by using super class ref is it possible to call sub class newly defined method?

Answer

yes if the method is ovreriding method


no if the method is not overriding method

Report Error

View answer Workspace Report Error Discuss

Subject: Java

134 1989
Q:

What are pass by reference and passby value ?

Answer

Pass By Reference means the passing the address itself rather than passing the value. Passby Value means passing a copy of the value to be passed.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1988
Q:

What needs to be taken into consideration to host a website?

Answer

- To host a website a platform needs to be decided using which the hosting can be made simpler. 


- The specification needs to be determined before hosting the website and choosing the hosting platform. 


- The choice of operating system needs to be clear in choosing the website hosting services and the resources that the particular hosting platform requires need to be known. 


- The web hosting platform requires lots of services that need to be decided before hosting the website on the web.


- The space and the cost need to be kept minimum and according to that the choice has to be made between hosted or shared platforms.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1986
Q:

How do you calculate gratuity?

Answer

Gratuity is paid to all such employees after their resignation or retirement.Incase of resignation gratuity is paid to such employees who have completed 5 years of service.


Calculation of gratuity = Basic + DA x (15/26) x Total no. yrs service


15- Half month


26- Excluding 4 sundays

Report Error

View answer Workspace Report Error Discuss

1 1982