Interview Questions

Q:

Which of the following are valied?

A) A class can extend any number of classes simulteneously B) A class can implement only one interface at a time
C) A class can extend other class or can implement interface but not both simulteneously D) None of the above
 
Answer & Explanation Answer: D) None of the above

Explanation:

A is wrong because a class can extend nly one class .B is wrong because a class can implement any number of interfaces.C is wronb because both can can be done simulteneously.So, D is correct

Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: IT Trainer

1 4282
Q:

What is a data binding in AngularJS?

Answer

Data binding is an automatic synchronization of data between model and view components. ng-model directive is used in Data binding.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

1 4281
Q:

Where does the allocaters are implemented?

A) Template library B) Standard library
C) C++ code library D) None of these
 
Answer & Explanation Answer: B) Standard library

Explanation:

Allocaters are implemented in C++ standard library but it is used for C++ template library.

Report Error

View Answer Report Error Discuss

Filed Under: C++

1 4270
Q:

If sub class data member is hiding super class data member then how to access super class data member inside sub class methods?

Answer

use super keyword.


super keyword points immediate super class.


Class Sample {


int a =23;


 }


Class Sub extends Sample { 


 String a = "bablu";


 void show() {


 System.out.println(a); //bablu


 System. out. println(this.a); //bablu


 System. out.println(super.a); //23


}


}


Class Demo {


Public static void main(string[] args) {


sub s = new Sub();


s.show();


}


}


 

Report Error

View answer Workspace Report Error Discuss

Subject: Java

1 4241
Q:

What is the difference between the functions unlink and unset in PHP?

Answer

The function unlink() is to remove a file, where as unset() is used for destroying a variable that was declared earlier.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

1 4240
Q:

How to write Regression test cases? What are the criteria?

Answer

Regression test cases are also based on the requirement documents. They are written more into detail and with every release (build), the testers need to do regression testing. The criteria for regression testing are; there should be no major defects while we do our smoke test and functional testing.

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

0 4234
Q:

ETCS means

A) Electronic Tax Collected at Source B) Electric Tax Collected at Source
C) Enable Tax Collected at Source D) Electrical Tax Collected at Source
 
Answer & Explanation Answer: A) Electronic Tax Collected at Source

Explanation:

Tax Collected at Source (TCS) is income tax collected in India payable by the seller who collects in turn from the buyer and it is provided under section 206C of Income Tax Act, 1961 at the sale of some goods which are specified.

E - TCS  is the process of filing TCS returns through electronic media. It is necessary for government and corporate collectors to file TCS returns in its electronic form. Collectors (other than government) have the provision to file TCS returns in physical form or electronic form.

Report Error

View Answer Report Error Discuss

Filed Under: Accounts Receivable
Exam Prep: Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

5 4233
Q:

What is accumulated loss?

Answer

A loss (or losses) from previous years carried forward in order to offset future earnings. This reduces the tax burden for the years with profit as the accumulated losses are deducted from the taxable profit.

Report Error

View answer Workspace Report Error Discuss

Subject: Accounts Payable

0 4233