Computer Science - Diagnostic Test, Study notes of Computer Science

I have taken these questions and answers from Computer Science. The topics of which is Diagnostic Test.

Typology: Study notes

2014/2015

Available from 05/13/2024

farook-ali
farook-ali 🇮🇳

88 documents

1 / 14

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Computer Science - Diagnostic Test and more Study notes Computer Science in PDF only on Docsity!

Computer Science Diagnostic Test 21. Design an interface Cat. The interface must include the functions meow, purr, clean, hungry, isPurring, isClean, isSleeping, and isHungry. interface Cat { public String meow(); public String purr() public void clean(); public void hungry(); public boolean isPurring(); public boolean isClean(); public boolean isSleeping(); public boolean isHungry();