- 0
Need Recheck and Help for Comp Sci assignment
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Learn Java with Projects (worth $44.99) but free in exchange for your email
By News Staff,
- packt
- ebook offer
- (and 2 more)
- 0 replies
- 2 views
-
JavaScript from Frontend to Backend ($20.99 Value) FREE for your work email
By News Staff,
- ebook offer
- sponsored
- (and 3 more)
- 0 replies
- 2 views
-
- 0 replies
- 2 views
-
Job Ready Java ($24 value) free download for a Limited Time
By News Staff,
- ebook offer
- java
- (and 1 more)
- 0 replies
- 2 views
-
Transitioning to Java ($35.99 Value) FREE eBook download
By News Staff,
- sponsored
- ebook offer
- (and 1 more)
- 0 replies
- 2 views
-
Question
atyemail
So basically I have these multiple questions that were given by my professor and I done several of it but I want to make sure whether these are corrects or not so please kindly help and check if any wrong
1. Which of the following strings would match the pattern: Pattern pattern = Pattern.compile("([Mm]e|[Yy}ou).*\\1$");
a. "Is it me or you"
b. "You're just You"
c. "Some come to me"
d. "Are you here for you or me"
e. "Me for you, and you for me"
f. "It's always me, me, me"
My answers: b, c, e, f
I posted a picture of my work
2. Answer : C
3. Answer: A
Part B is shown on the link
For Part C please help me because it's unfinished and I do not think i get it right either
http://imgur.com/M4g9TBd,tRRpDLH,jd1j38y
Link to comment
Share on other sites
7 answers to this question
Recommended Posts