Advertisement

08.07.2008 at 05:14AM PDT, ID: 23628957
[x]
Attachment Details

"dog MyDog = new Dog()"

Asked by locke2005 in Java Programming Language, New to Java Programming

Tags: Java

What is the former dog for?
What is the latter dog for?

What happens if I use "cat MyDog = new Dog()"?
What happens if I use "dog MyDog = new Cat()"?Start Free Trial
 
Keywords: "dog MyDog = new Dog()"
 
Loading Advertisement...
 
[+][-]08.07.2008 at 05:17AM PDT, ID: 22180172

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Java Programming Language, New to Java Programming
Tags: Java
Sign Up Now!
Solution Provided By: angelIII
Participating Experts: 3
Solution Grade: A
 
 
[+][-]08.07.2008 at 05:21AM PDT, ID: 22180191

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]08.07.2008 at 08:30AM PDT, ID: 22181934

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628