Quiz
Java Review
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (10)
11- What is the description that you think best defines the term 'class' in OOP ?
- AIt is similar to ' array' concept
- BIt is a model or template from which we create
- CIt is a particular variable
2What code would associate an interface in Java?
- A• Cp = new Component Component ( interface)
- B• Component cp = new Componente.interfaz
- C• public class implements Printable Component
3What elements do you think that define an object?
- AYour cardinality and type
- BHis attributes and methods
- CThe way he communicates and exchanges messages
4Which of the following code has to do with heredity ?
- Apublic class extends Component Product
- BComponent inherit public class Product
- Cpublic class implements Component Product
5What does instantiate a class ?
- ADuplicate a class
- BRemove a class
- CCreate an object from the class
6In Java, what do we mean when we talk about ' Swing '?
- AIs the nickname of JDK version 1.3
- BA specific framework for Android
- CA library for building GUIs
7What is Eclipse?
- AA Java library
- BAn IDE for developing applications
- CNone of the above
8What is Java bytecode ?
- AThe format we get after compiling a .java source
- BA variable
- CA code debugger
9What is overloading ( overload ) method ?
- ARename leaving him with the same functionality
- BCreate a method with the same name but different arguments
- CAdd functionality to a method
10What is an exception?
- AAn error throwing a method when something goes wrong
- BAn object can not be instantiated
- CA loop that does not end
Information
- Description
- The Java language is a derivative of the C language, so its syntax rules are much like C : for example, code blocks are modularized methods and are delimited by braces ({ and } ) and the variables are declared before being used. Structurally, the Java language begins with packages. A package is the namespace mechanism of Java language. Inside the packages are classes within classes and methods , variables , constants are , among others.
- Author
- raquel.moyano92
- Language
- Español
- Views
- 25
- Rating
- No ratings yet Rate this quiz