Question
Which of the following statements about abstract methods
in Java is true?Solution
o An abstract method is meant to be implemented (overridden) by its concrete subclasses. o A private method is not inherited by subclasses and cannot be accessed or overridden. Therefore, it makes no sense for an abstract method to be private, as it would be impossible for subclasses to provide an implementation. The compiler will produce an error if you try to declare a private abstract method.
Tap βAβ and tap βBβ can fill a tank in 56 hours and 49 hours, respectively. If both taps are opened together, then find the time after which tap...
Pipe A and Pipe B together can fill the tank in 15 hours. The capacity of the pipe A is 30% of the capacity of the pipe B. How much time will pipe B alo...
Pipe 'A' takes 20 minutes to fill half of the tank. Pipe 'B' is twice as efficient as pipe 'A'. Find the percentage of the tank filled by both in 8 minu...
- Pipes βXβ and βYβ alone can fill a tank in 12 minutes and 18 minutes, respectively, while pipe βZβ can empty the same tank in 36 minutes. If al...
Pipe A and Pipe B together can fill the tank in 25 hours. The capacity of the pipe A is 20% of the capacity of the pipe B. How much time will pipe B alo...
Pipes βAβ and βBβ can fill a tank in 6 hours and 9 hours, respectively. If pipe βCβ is opened along with pipes βAβ and βBβ, then the...
Pipe L can fill a pool in 30 hours and pipe M in 45 hours. If both the pipes are opened in an empty pool, how much time will they take to fill it?
Pipe βAβ can fill a tank in 25 hours while pipe βBβ can empty it in 30 hours. They were operated on alternate hours starting with pipe βAβ. ...
Pipe βAβ can fill a 120-litre tank in 15 hours. If pipe βAβ is 25% more efficient than pipe βCβ whereas pipe βBβ is 50% more efficient t...
Pipe βAβ can fill a tank in 15 hours while pipe βBβ can empty it in 45 hours. They were operated on alternate hours starting with pipe βAβ. ...