Moe Jackson

Ranch Hand
+ Follow
since Sep 16, 2018
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
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 Moe Jackson

Im using apache netbeans 12.4 with Java 11 installed

Look, if I remove one of the methods from SUMMER, it compiles without issue.





"What’s going on here? It looks like we created an abstract class and a bunch of tiny subclasses.
In a way we did. The enum itself has an abstract method. This means that each and
every enum value is required to implement this method. If we forget one, we get a compiler error."

But the thing is, I can remove any method from the enums and get the code will still compile.

Can someone explain to me what the OCP8 book is trying to say?

Thanks.

I don't understand how this nested for loop is printing each and every element in each row and column.

I need someone to explain to me how its going through all the indexes [0, 1] [0, 2] [1, 0] etc.

Aren't both loop being incremented at the same time, or does the inner loop get incremented all the way before the outer loop gets incremented again. Please explain someone.

1 year ago


Why does this code print true true false. I don't get how the last one is false.

Thanks.
1 year ago
Is it a good idea to study for both OCA and OCP at the same time?

Or is it recomended to get the OCA first before going into ocp
1 year ago
Consistently getting good marks under "exam conditions" otherwise I could fail if I went to the real exam thinking I can pass it when I;ve been doing practice exams on an "open book basis"
1 year ago
Hi,

When doing the review questions from the book, is it ok for me to solve them by flicking through the chapter and reading parts of it then go andgoing through my notes to answer the review questions. Or do I need to answer them under exam conditions. Same goes for the enthuware mock tests. I am really struggling to pass this bloody OCA exam, failed twice in the space of a year.. but not losing hope just yet...
1 year ago


Why doesnt i increment and why does j still decrement?

Can someone break it down for me and tell me whats going on.

This is a question from enthuware OCA 8.

Going through objective based practice exams, trying to ingrain this knowledge into my brain...
1 year ago


Hi guys,

I don't understand the last line of code, how does the method take (int[ ] n ) as an array? Why is n an array?

Thanks guys.
1 year ago
Assume that a, b, and c refer to instances of primitive wrapper classes. Which of the following statements are correct?

Please choose 2 answers.

a.equals(a) will always return true.
b.equals(c) may return false even if c.equals(b) returns true.
a.equals(b) returns same as a == b.
a.equals(b) throws an exception if they refer to instances of different classes
a.equals(b) returns false if they refer to instances of different classes.

Stuck on this, could someone tell me the answers and explain why.

Thanks.
1 year ago

Knute Snortum wrote:I don't think it's because local can't be null, but that the compiler knows that it may not have been initialized.



Shouldn't it just print null if it isn't initialised?
1 year ago


Why if I remove the else statement my code doesn't compile?
Shouldn't it just print null if it doesn't get initialised?

Thanks.
1 year ago
Hi guys,

If I want to starting building bespoke business application MVPs how would I go about finding my first clients?

Anyone with knowledge or experience in this field?
1 year ago