Interview Questions

Q:

Why static methods cannot access non static variables or methods?

Answer

A static method cannot access non static variables or methods because static methods doesnt need the object to be accessed. So if a static method has non static variables or non static methods which has instantiated variables they will no be intialized since the object is not created and this could result in an error.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

9 3810
Q:

Tell me how you stay upto date with fashion?

Answer

Check out the magazines on the newsstand on a regular basis.
receive email newsletters from the style internet site to present you recent fashion thoughts. Keep in mind of your age and frame type while analyzing those newsletters.

Report Error

View answer Workspace Report Error Discuss

9 3807
Q:

If everyone on the team is a veteran, what will you do to fit in ?

Answer

This answer shows steps of becoming a team member that doesn't appear to be in training. It is describing ways to limit training times in meetings, and include that a new worker could benefit an existing team by making a list of ideas.


Even if everyone is a veteran, I feel confident I can fit right in. I would prepare as much as I can by reading existing material to catch up on the project. I would plan for meetings by making a list of questions I have and finding the answers to these questions before the meeting. I would also create a list of ideas through the documents I have read. A fresh mind could help with creative solutions. I know that I would be required to study a lot in the beginning, but I would be able to do so at home or by working late in the office.

Report Error

View answer Workspace Report Error Discuss

13 3805
Q:

What is a stub network?

A) A network with only one entry and no exit point. B) A network that has only one entry and exit point.
C) A network with more than one exit point. D) A network with more than one exit and entry point.
 
Answer & Explanation Answer: B) A network that has only one entry and exit point.

Explanation:

A stub network has only one default path to non-local hosts and no outside network knowledge. Non-local stub network traffic uses a single logical path when traveling in and out of the network.

 

Stub networks are essentially local area networks (LAN) that either do not connect to the outside and relay data packets internally or are dead-end LANs that know of only one network exit. Stub networks may have multiple connections but use one path to single points of destination.

 

Hence, a stub network is a network that has only one entry and exit point.

Report Error

View Answer Report Error Discuss

3 3803
Q:

What is RUNSTATS?

Answer

A DB2 utility used to collect statistics about the data values  in tables which can be used   by the optimizer to decide the access path. It also collects statistics used for space   management. These statistics are stored in DB2 catalog tables.

Report Error

View answer Workspace Report Error Discuss

0 3797
Q:

Different access specifiers for the class member in C++

Answer

Access specifiers in C++ determines the scope of the class members.


Public: If a class member is public, it can be used anywhere without the access restrictions.


Private: if a class member is private, it can be used only by the members and friends of class.


Protected: If a class member is protected, it can be used only by the members and friends of class and the members and friends of classes derived from class.

Report Error

View answer Workspace Report Error Discuss

Subject: C++

1 3797
Q:

What are three ways to reduce page load time?

Answer

There are many answers here: Reduce image sizes, remove unnecessary widgets, HTTP compression, put CSS at the top and script references at the bottom or in external files, reduce lookups, minimize redirects, caching, etc.

Report Error

View answer Workspace Report Error Discuss

4 3789
Q:

What legal services can a lawyer provide?

Answer


    1. Serve clients completely
    2. Be competently loyal to clients
    3. Keep client communications private
    4. Answering legal questions
    5. Helping clients find a solution
    6. Emerge in court on a client’s behalf
    7. Counseling clients

Report Error

View answer Workspace Report Error Discuss

Subject: Law

7 3787