Dylan Kwon

Greenhorn
+ Follow
since Jul 11, 2023
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
1
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
5
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
Ranch Hand Scavenger Hunt
Greenhorn Scavenger Hunt

Recent posts by Dylan Kwon

Hey everyone, I am have been prompted to download Oracle's "Lockdown Browser" to take the exam. Can this browser be used to take sensitive information from my computer? Can I easily delete it after my exam is finished?

9 months ago
Thank you, I understand fully now!
9 months ago

Mike Simmons wrote:Yes.



Thank you!
9 months ago
They have a set order and can be sorted, so they are sequential, and they have indices that allow you to access their elements in random order, so are they also indexed?
9 months ago

Piet Souris wrote:Say String s1 has length 5, and String s2 has length 10. In your first Comparator you return s2.length() - s1.length() = 5. Since that is positive, the first argument s1 is considered to be the bigger one and so will come after s2 in the sort. Your second Comparator does the reverse: since 5 - 10 is negative, s1 is considered to be smaller.



I see, thank you. What if s1 had length 10 and s2 had length 5? Or do we assume that s1 will always have a smaller length?
9 months ago
Thank you for clarifying!

For the Comparators, wouldn't both methods work for both scenarios? From my understanding, sort algorithms use compare methods to put values in order. Since both compare methods tell you if o1 is less than, equal to or greater than o2, why are they each used for 1 scenario?
9 months ago
1. Let's say I want a Comparator that sorts the longest strings first and there are no nulls values.



I am told this is the correct method for doing so, but doesn't this method work as well?:



Both methods return a number that signifies what string is greater, so isn't this enough information to sort?

2.
In a 2D array, letters does "letters[0]" refer to the 1st row?
9 months ago
Thank you for the clarifications! I have not studied Comparators well, so my questions are quite general.
9 months ago
1: bigProject
|–source
||– Utils.java
|
|–classes

Is this the right way of reading this directory structure?
"|" means directory
"||" means a class within a directory.

So Utils.java is a class under the source directory, and classes is a separate directory.

2: If HashSets only have unique values, why did I have 2 values of 3 in the code below?



Result: [16, 3, 3]

What is the following array declaration trying to accomplish? When I tried using a nested for loop to print its contents I got an infinite loop.



Result:
562433 0
1562434 0
1562435 0
1562436 0

and so on.

3
I have this block of code:


Either of the following expressions fill the blank so the code prints gamma:



How is the reversed method being applied to a character? Isn't this method used to reverse an entire array?
According to the article below, returns "a Comparator object that will use the specified field as the sort key."
What is the blank argument of the sort method supposed to be? And how do the methods above supply that argument?
10 months ago
Thank you for the help everyone! The bit about hexadecimal history was a pleasant surprise too.

To answer Liutaras' question, a = 3, and the result is 8. The complete code looks like this:



I'm guessing that when a variable is incremented, it doesn't completely change until after the operation. So right after "++a" we have 4 + 3. a becomes 7. Then after "a++" it becomes 8. So incrementing the a on the left side did not change the a on the right side.


10 months ago
Thank you so much, Paul this cleared up every question I had and more!
10 months ago

Output: mother
For the above code, why does changing sb1, the parameter variable, change sb2?



Output: hey oh hi yo ey
For the above code, why is "hey oh hi" appended before "yo?"
10 months ago
Hey everyone, I thought of these questions after taking practice tests.

What does 0xb mean?

As shown in the attached file, do user-created constructors automatically have the default constructor built into them?

What will variable a be after “a = ++a + a++;”? 8 or 9?
10 months ago


vceplus-200-125    | boson-200-125    | training-cissp    | actualtests-cissp    | techexams-cissp    | gratisexams-300-075    | pearsonitcertification-210-260    | examsboost-210-260    | examsforall-210-260    | dumps4free-210-260    | reddit-210-260    | cisexams-352-001    | itexamfox-352-001    | passguaranteed-352-001    | passeasily-352-001    | freeccnastudyguide-200-120    | gocertify-200-120    | passcerty-200-120    | certifyguide-70-980    | dumpscollection-70-980    | examcollection-70-534    | cbtnuggets-210-065    | examfiles-400-051    | passitdump-400-051    | pearsonitcertification-70-462    | anderseide-70-347    | thomas-70-533    | research-1V0-605    | topix-102-400    | certdepot-EX200    | pearsonit-640-916    | itproguru-70-533    | reddit-100-105    | channel9-70-346    | anderseide-70-346    | theiia-IIA-CIA-PART3    | certificationHP-hp0-s41    | pearsonitcertification-640-916    | anderMicrosoft-70-534    | cathMicrosoft-70-462    | examcollection-cca-500    | techexams-gcih    | mslearn-70-346    | measureup-70-486    | pass4sure-hp0-s41    | iiba-640-916    | itsecurity-sscp    | cbtnuggets-300-320    | blogged-70-486    | pass4sure-IIA-CIA-PART1    | cbtnuggets-100-101    | developerhandbook-70-486    | lpicisco-101    | mylearn-1V0-605    | tomsitpro-cism    | gnosis-101    | channel9Mic-70-534    | ipass-IIA-CIA-PART1    | forcerts-70-417    | tests-sy0-401    | ipasstheciaexam-IIA-CIA-PART3    | mostcisco-300-135    | buildazure-70-533    | cloudera-cca-500    | pdf4cert-2v0-621    | f5cisco-101    | gocertify-1z0-062    | quora-640-916    | micrcosoft-70-480    | brain2pass-70-417    | examcompass-sy0-401    | global-EX200    | iassc-ICGB    | vceplus-300-115    | quizlet-810-403    | cbtnuggets-70-697    | educationOracle-1Z0-434    | channel9-70-534    | officialcerts-400-051    | examsboost-IIA-CIA-PART1    | networktut-300-135    | teststarter-300-206    | pluralsight-70-486    | coding-70-486    | freeccna-100-101    | digitaltut-300-101    | iiba-CBAP    | virtuallymikebrown-640-916    | isaca-cism    | whizlabs-pmp    | techexams-70-980    | ciscopress-300-115    | techtarget-cism    | pearsonitcertification-300-070    | testking-2v0-621    | isacaNew-cism    | simplilearn-pmi-rmp    | simplilearn-pmp    | educationOracle-1z0-809    | education-1z0-809    | teachertube-1Z0-434    | villanovau-CBAP    | quora-300-206    | certifyguide-300-208    | cbtnuggets-100-105    | flydumps-70-417    | gratisexams-1V0-605    | ituonline-1z0-062    | techexams-cas-002    | simplilearn-70-534    | pluralsight-70-697    | theiia-IIA-CIA-PART1    | itexamtips-400-051    | pearsonitcertification-EX200    | pluralsight-70-480    | learn-hp0-s42    | giac-gpen    | mindhub-102-400    | coursesmsu-CBAP    | examsforall-2v0-621    | developerhandbook-70-487    | root-EX200    | coderanch-1z0-809    | getfreedumps-1z0-062    | comptia-cas-002    | quora-1z0-809    | boson-300-135    | killtest-2v0-621    | learncia-IIA-CIA-PART3    | computer-gcih    | universitycloudera-cca-500    | itexamrun-70-410    | certificationHPv2-hp0-s41    | certskills-100-105    | skipitnow-70-417    | gocertify-sy0-401    | prep4sure-70-417    | simplilearn-cisa    |
http://www.pmsas.pr.gov.br/wp-content/    | http://www.pmsas.pr.gov.br/wp-content/    |