{ "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": "python388jvsc74a57bd0fe9532ae7082525fc6563eaa4eccaa4db9c40f9c7ec21d93a99a18b4cc0dea84" }, "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 }