This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP TABLE IF EXISTS purchases; | |
CREATE TEMP TABLE purchases ( | |
data jsonb | |
); | |
INSERT INTO purchases (data) | |
VALUES ('{ | |
"purchase_id": 83577474, | |
"customer_id": 173645, | |
"items": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); | |
String name = reader.readLine(); | |
int number = Integer.parseInt(reader.readLine()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.android.justjava; | |
import android.os.Bundle; | |
import android.support.v7.app.AppCompatActivity; | |
import android.view.View; | |
import android.widget.TextView; | |
/** | |
* This app displays an order form to order coffee. | |
*/ |