Searching for "u"

Q:

What is Constructor?

Answer

Constructor is not a special method.


Constructor is block of code that is executed automatically whenever object of the class is created.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

Q:

In a class if private data member is declared then how to get value of that data member?

Answer

By using method.


The method used to get the data is called getter method.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

Q:

What is the differnce among public, protected and package access data?

Answer

If we are not using packages and if we are not using inheritance then there is no difference among public, protected and package access data.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

Q:

When this. non-static datamember is compulsory inside non-static method

Answer

Whenever there is local- variable/parameter inside the method with same name as data member.


Ex:


Class Sample {


 int a;


  void show() {


   int a=5;


   system.out.println(a); // 5


   system.out.println(this.a);//23


  }


}


class MainApp {


  Public static void main(String[] args) {


  Sample s = new Sample();


   s.a = 23;


   s.show();


   }


}


 

Report Error

View answer Workspace Report Error Discuss

Subject: Java

Q:

What is anonymous class?

Answer

Anonymous class is class without name.


EX:


class A {


}


class Demo {


    A r = new A() {


        }; //anonymous class


}


 

Report Error

View answer Workspace Report Error Discuss

Subject: Java

Q:

What's fuzz testing ?

Answer

1) List down usecases (taken from business cases) from function specs. For each use case write a test case and categorize them into sanity tests, functionality, GUI, performance etc. Then for each test case, write its workflow. 


2) For a GUI application - make a list of all GUI controls. For each control start writing test cases for testing of the control UI, functionality (impact on the whole application), negative testing (for incorrect inputs), performance etc.  

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

Q:

What is GUI testing? What elements will we cover in GUI testing?

Answer

In GUI testing, need to cover the customer requirement if don't have to validate  Font size, colors, spellings(labels) etc.


Every application should follow Microsoft rules like


- Controls should be Initcap (i.e every label should start with Capital letter )Can observe that in Win applications every label starts with Caps


- OK or Cancel button should exist


- Controls should not be overlapped


- Controls should be alligned properly (left side alignment is mandatory but the right side is optional)


- Controls should be visible


- Short cut keys should be provided


- System menu should exist (i.e if u press Alt key + Space bar a menu will appear at the left most corner )


- Mouse pointer events 


Colors, Label Names, Tab Order, Alignment, graphs , Navigation of the software to test in GUI Testing.

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

Q:

What is security/penetration testing?

Answer

Security/penetration testing is testing how well the system is protected against unauthorized internal or external access, or willful damage. This type of testing usually requires sophisticated testing techniques.

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing