Skip to content

Instantly share code, notes, and snippets.

View PrimitiveTest
public static void main(String[] args) {
int origin = 333;
System.out.println("[Initially]");
System.out.println("origin = " + origin + " , hashcode= " + System.identityHashCode(origin) + "\n");
change999(origin);
System.out.println("origin = " + origin + " , hashcode= " + System.identityHashCode(origin) + "\n");
View ObjReferenceTest
public class ObjReferenceTest {
private int age = 12;
public static void main(String[] args) {
ObjReferenceTest obj = new ObjReferenceTest();
System.out.println("[initially]");
System.out.println("Age = " + obj.age + " , hashcode = " + System.identityHashCode(obj) + "\n");
@loongest
loongest / edit.html
Last active Dec 4, 2019
category model
View edit.html
{% extends "base.html" %}
{% import 'bootstrap/wtf.html' as wtf %}
{% block head %}
{{super()}}
<link href="{{ url_for('static', filename='css/dashboard.css') }}" rel="stylesheet"/ >
{% endblock %}
{% block app_content %}
{{ super() }}
You can’t perform that action at this time.