100% tevredenheidsgarantie Direct beschikbaar na je betaling Online lezen of als PDF Geen vaste maandelijkse kosten 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

CMSC 132 Exam review(Accurately solved)

Beoordeling
-
Verkocht
-
Pagina's
23
Cijfer
A+
Geüpload op
29-05-2024
Geschreven in
2023/2024

What do you find in a java interface? correct answers method prototypes, final static variables, static methods (note: instance methods are ok if you use the term 'default'). The classes that implement an interface must implement ___________ correct answers Instance methods from interface (note: default instance method does not need to be implemented, it has already been inherited). When should you use the key word 'Override'? correct answers When you are implementing a method from an interface. If there is default implementation of a method you can use override to implement it differently. (reminder: if it is already implemented in the interface, you do not need to implement it in a different class because it has already inherited it). (T/F) - You can add other code to the classes that inherit the superclass features aside from the interface method implementations. correct answers TRUE (T/F) you cannot create polymorphic collections correct answers FALSE What does API stand for and what is it? correct answers Application Programming Interface, the API is part of a model that are exposed to the user (public features). For example, when you write projects you use the String class, it has an API which are the features from that class available to users. Overall in an API you find public variables, public methods, and the contracts of the methods. What did Fawzi mention is important to remember in regards to the API? correct answers When changing code, make sure to leave the API the same so the outside user doesn't have anything to worry about. What is encapsulation? correct answers Hiding something in a private shell, in order to access private members they use public methods. What are the 2 types of encapsulation? What do they each mean? correct answers data encapsulation - make the data private procedural encapsulation - switching out an algorithm behind the scenes and no user will know (rule of thumb: encapsulate what may change later). Why do the wrapper classes exist? correct answers In order to make collections of these values. Collections can only collect objects, not primitives. (T/F) all the wrapper classes are immutable. correct answers TRUE. You cannot change the state of the object. Which declaration is correct? a) Integer x = new Integer(7);

Meer zien Lees minder
Instelling
CMSC 132
Vak
CMSC 132










Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
CMSC 132
Vak
CMSC 132

Documentinformatie

Geüpload op
29 mei 2024
Aantal pagina's
23
Geschreven in
2023/2024
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
Insightfulsh3rry NURSING, ECONOMICS, MATHEMATICS, BIOLOGY, AND HISTORY MATERIALS BEST TUTORING, HOMEWORK HELP, EXAMS, TESTS, AND STUDY GUIDE MATERIALS WITH GUARANTEED A+ I am a dedicated medical practitioner with diverse knowledge in matters
Bekijk profiel
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
20
Lid sinds
2 jaar
Aantal volgers
6
Documenten
4026
Laatst verkocht
1 maand geleden
Insightful Academy.

On this page,we offer a wide selection of revised study materials that guarantee success in your studies and different courses,latest exam updates,assignments,questions and solved answers you will find them all here. For more inquiries dont hesitate to contact us for assistance! Leave us a review after purchase so we can understand our clients . Wishing you all the best in your studies.

3.5

2 beoordelingen

5
0
4
1
3
1
2
0
1
0

Populaire documenten

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen