{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# 测试" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "Hello world!" ] }, "execution_count": 1, "metadata": {}, "output_type": "execute_result" } ], "source": [ "String helloWorld = \"Hello world!\";\n", "\n", "helloWorld" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "6" ] }, "execution_count": 2, "metadata": {}, "output_type": "execute_result" } ], "source": [ "(int) eval(\"1 + 2\") + 3" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [], "source": [ "%%loadFromPOM\n", "\n", " oss-sonatype-snapshots\n", " https://oss.sonatype.org/content/repositories/snapshots/\n", "\n", "\n", "\n", " io.github.spencerpark\n", " jupyter-jvm-basekernel\n", " 2.0.0-SNAPSHOT\n", "" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Java", "language": "java", "name": "python3100jvsc74a57bd0d825c9a2cf8155f2b974bd0370267837baa58c4c78e68f4029adefe2a580376c" }, "language_info": { "codemirror_mode": "java", "file_extension": ".jshell", "mimetype": "text/x-java-source", "name": "java", "pygments_lexer": "java", "version": "17.0.1+12-Ubuntu-120.04" }, "orig_nbformat": 4 }, "nbformat": 4, "nbformat_minor": 2 }