I like the second one better xx
Answer:
Check the explanation
Explanation:
Answer: Solution: Algorithm:
Step 1: Start.
Step 2: Create a stack Step
3: Push an initial stack variable, it will represent that, stack is empty.
Step 4: Get input
If +1 then push "+1"
Else if -1 then pop
Step 5: Repeat until all input finish or Stop if empty stack variable popped. Step 6: Stop.
It is a pushdown automata problem.
It can be also represented as:
X =1+1* —1* 1No(+1)>= No(-1)}
A viewport is the viewing area for a web page, which is much smaller on a phone than on a traditional desktop .
I think all the answers you picked were correct except the last one I think is B because even though the disc is copyrighted it's not considered intellectual property
Answer:
Option (B) is the correct answer of this question.
Explanation:
In the Private access modifier we can access the property and field within the package or class we cannot accessing the member outside the class .
- We use private keyword for declaring the private access modifier.
- In the public access modifier we accessing the property outside the class so it's a incorrect option .
- In the protected access modifier we access the property of class package and subpackage both so it's a incorrect option.
- The default modifier is incorrect it not follow the given scenario so it's incorrect.