Question

Which access modifier is used to ensure that a variable can only be accessed within the class where the variable is declared? Private O Public O Protected Friend
In requirement specification or requirement engineering, functional requirements . o should be complete and consistent O should be precise and concise o include domain requirements O plan the solution to the problems identified in the software analysis stage
Which of the following statements is NOT true about a parameterized query? o it uses a SQL statement to define a query o it is used in a typed DataSet application O it is used in a Drag-n-drop application O it defines a LINQ query
0 0
Add a comment Improve this question Transcribed image text
Answer #1

1. Private. To limit access of a variable to within the same class , the variable must be declared private. Public can be accessed from anywhere while protected can be accessed from the child classes that inherit it.

2. A. Functional requirements should be complete and consistent There should be no ambiguity while defining functional requirements  

3. D. Parameterized query doesn't not define a linq query. They are mainly used to prevent SQL injection

Add a comment
Know the answer?
Add Answer to:
Which access modifier is used to ensure that a variable can only be accessed within the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT