Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.genuineminecraft.src;
- public class Program {
- private static interface Producer<T> { T ew(); }
- private static Producer<Program> n = Program::new;
- public static void main(String[] args) {
- Program pro1 = n.ew();
- Program pro2 = n.ew();
- System.out.println(pro1 == pro2);
- // false
- }
- }
Advertisement