Technology Questions

Q:

What is Binary Portability Testing?

Answer

Testing an executable application for portability across system platforms and environments, usually for conformation to an ABI specification.

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

0 3981
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 3972
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 3961
Q:

Would I use print "$a dollars" or "{$a} dollars" to print out the amount of dollars in this example?

Answer In this example it wouldn’t matter, since the variable is all by itself, but if you were to print something like "{$a},000,000 mln dollars", then you definitely need to use the braces.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 3948
Q:

Which CICS service transaction is used to gain accessibility to CICS control tables? Mention the one that has the highest priority?

Answer

CEDA 

Report Error

View answer Workspace Report Error Discuss

0 3946
Q:

Difference between Embeded SQL and Dynamic SQL?

Answer

Static (embedded) SQL:


1.In static SQL how database will be accessed is predetermined in the embedded SQL statement.


2.It is more swift and efficient.


3.SQL statements are compiled at compile time.


4.Parsing, validation, optimization, and generation of application plan are done at compile time.


5.It is generally used for situations where data is distributed uniformly.


6.EXECUTE IMMEDIATE, EXECUTE and PREPARE statements are not used.


7. It is less flexible 


 


Dynamic (interactive) SQL:


1.In dynamic SQL, how database will be accessed is determined at run time.


2.It is less swift and efficient.


3.SQL statements are compiled at run time.


4.Parsing, validation, optimization, and generation of application plan are done at run time.


5.It is generally used for situations where data is distributed non-uniformly.


6.EXECUTE IMMEDIATE, EXECUTE and PREPARE statements are used.


7.It is more flexible.

Report Error

View answer Workspace Report Error Discuss

0 3943
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 3923
Q:

Explain what is injector ?

Answer

1.  An injector is a service locator.
2.  It is used to retrieve object instances as defined by provider, instantiate types, invoke methods and load modules.
3. There is a single injector per Angular application, it helps to look up an object instance by its name.

Report Error

View answer Workspace Report Error Discuss

3 3904