[text] fhcghkhfgsdh

Viewer

copydownloadembedprintName: fhcghkhfgsdh
  1. package com.test;
  2. import java.util.Optional;
  3. public class ObjectDemo {
  4.     @Override
  5.     public String toString() {
  6.         return "ObjectDemo";
  7.     }
  8.     public static void main(String[] args) {
  9.         Optional<Object> o = Optional.of(new ObjectDemo());
  10.         System.out.println(o.get().toString());
  11.     }
  12. }

Editor

You can edit this paste and save as new:


File Description
  • fhcghkhfgsdh
  • Paste Code
  • 23 Mar-2023
  • 322 Bytes
You can Share it: