100% de satisfacción garantizada Inmediatamente disponible después del pago Leer en línea o como PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

CMSC 132 Exam review(Accurately solved)

Puntuación
-
Vendido
-
Páginas
23
Grado
A+
Subido en
29-05-2024
Escrito en
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);

Mostrar más Leer menos
Institución
CMSC 132
Grado
CMSC 132










Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
CMSC 132
Grado
CMSC 132

Información del documento

Subido en
29 de mayo de 2024
Número de páginas
23
Escrito en
2023/2024
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$17.59
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Leer en línea o como PDF
No estas atado a nada


Documento también disponible en un lote

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
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
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
20
Miembro desde
2 año
Número de seguidores
6
Documentos
4026
Última venta
1 mes hace
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 reseñas

5
0
4
1
3
1
2
0
1
0

Documentos populares

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes