Jay Taylor

Greenhorn
+ Follow
since Jan 31, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jay Taylor

Let me re-word my question... I failed to comment out a line last time or to fully explain my question. Sorry.

Why does g=14 in the code below?

class Sequen
{
public static void main(String args[])
{
int a = 2;
int b = 7;

int e = 2;
int f = 7;

int c = a *++b;

//int d = --e *f;

int g = e-- *f;

System.out.println(c);
//System.out.println(d);
System.out.println(g);
}
}
16 years ago
I want to make sure I understand this.
class Sequen
{
public static void main(String args[])
{
int a = 2;
int b = 7;

int e = 2;
int f = 7;

int c = a *++b;

int d = --e *f;// This will case d to equal 7
int d = e-- *f;// This will cause d to equal 14

System.out.println(c);
System.out.println(d);
}
So the question is.. Will my Unary not be calculated in these problems? How can I cause the Unary to decrement from the int prior to the calculation?
}
16 years ago
This is taken from a practice test from uCertify application.

I cannot follow the logic and was feeling confused so I decided to seek assistance. Is the explanation provided accurate and if so.. How?


QUESTION:
interface A1{}
interface A2 {}
class C1 implements A1 {}
class C2 implements A2 {}
class C3 extends C1 implements A2 {}
C1 object1;
C2 object2;
C3 object3;

Which of the following statements is legal in the context of the above code?
A� object3=object1;
B- object2=object1;
C- object3=object2;
D- A2 c = object1;
E- A1 a=object2;
F� A1 b=object3;

Explanation: Answer option F is correct.
The A1 b = object3; statement in legal, in which b is the reference variable of the interface A1, which is assigned to hold object3. Here, object3 is the reference variable of the class C3, which implements the interface A2 and inherits the class C1. The class C1 implements the A1 interface. Therefore, the class C3 also indirectly implements A1.
I just discovered this site yesterday (actually a friend directed me here).

I am seeking a list that explains all the differences between the various "prints" Double/double (all the primitives) extends/implements etc.

It seems there should be a list for all of these things that explains the language and the meaning/purpose of everything.

THe closest example I can provide is our dictionaries. It is a collection of words and their definitions.

Is there anything like that in existence? If I don't understand what a Calabi-Yau is I can pick-up the OED and most likely I will find it's definition.

Ideas? Suggestions?
16 years ago
Thanks for the information.

I am usually very good at tests and things come to me naturally but Java is difficult for me to grasp and I don't know why.

I just took a 40 question Test with uCertify and all I scored was a 50....

Algorithm Design and Implementation 29% (4 out of 14)(This is apparently my biggest area of opportunity-Suggestions?)
Fundamental Object-Oriented Concepts 67% (6 out of 9)
Java Implementation of Object Oriented Concepts 38% (3 out of 8)
Java Platforms and Integration Technologies 100% (2 out of 2)
Server Technologies 60% (3 out of 5)
UML Representation of Object Oriented Concepts 100% (2 out of 2)

Advice I have recieved and tried to follow.
do a lot of coding - (I am doing this and when I have errors I try to figure it out and often go to resources to get the solution)

take practice exams - (I do this but it is almost like I am memorizing questions. I can get an answer right but the cognitive connection is not there. I just remember the question or one similar and choose the right answer... this is not learning.)

Study the SCJA books by Cameron McKenzie - Done it cover to cover more than once.

Use the Cashman Series Java programming - Did it partially but seemed to not help and didn't finish the book.

So I am open to any and all suggestions.

My suggestion -
Cameron, I'll fly you to Texas and you can stay at my house and tutor me for the next two or three weeks.

I have gotten a couple private messages and some helpful advice. Thanks to all of you reaching out.
[ February 01, 2008: Message edited by: Jay Taylor ]
16 years ago
I am ashamed to say I have failed the SCJA two times. I have used ucertify and the amazing books by Cameron but I'm just not getting it. I have until March 30 to get this certification. This certification is all that stands between me and my BS in IT.

I need help... Any intensive instruction or face-to-face tutoring options out here anywhere?

AHHHH I am stressed!
16 years ago