CoboCards App FAQ & Wishes Feedback
Language: English Language
Sign up for free  Login

This flashcard is just one of a free flashcard set. See all flashcards!

All main topics / Informatik / Java / Java Final 3
2
If Triangle is defined as an object, which of the following statements declare, create and assign an object reference to the variable myTriangle?

A) Triangle myTriangle;
B) myTriangle = new Triangle( );
C) Triangle myTriangle = new Triangle( );
D) New Triangle( ):
C) Triangle myTriangle = new Triangle( );
New comment
Flashcard info:
Author: somgaet
Main topic: Informatik
Topic: Java
Published: 26.04.2010

Cancel
Email

Password

Login    

Forgot password?
Deutsch  English