This isn't a code question for once, but it definitely has me confused.

Basically, my lecturer has told me that we have a project due next semester that involves us to use Java and SQL intertwined with each other.

I had no idea the combining of languages was even possible!

So my mind's really blown.

I've been searching around looking for examples of such code but no luck. So I thought I'd ask you guys.

I think the most logical thing to do since I have no experience with combining would be too create tables in SQL due too its use in databases and call them through Java.

Can anyone explain to me how this is possible or just the jist of how languages combine.


Question: Scrabble variation: use double and triple word scores (but not double/triple letter scores) twice?
Answer: I searched Changes to the Box Top Rules, 1949 - 1999 and found the following clarification was made in 1953:


  1953: If a word is formed that covers two premium WORD squares, the score is doubled and then re-doubled (4 times letter count), or tripled and then re-tripled (9 times letter count) as the case may be.


Nowhere in the rules was there any mention of being able to use the same premium square twice.

The Diamond Anniversary Edition rules includes some interesting variations, but does not mention your scoring rules.

Personally, I would find your scoring variation confusing and prone to error, since Scrabble tiles are not transparent, and therefore a novice may have trouble realizing that they are reusing a premium word square.