Whiteship
  • Home
  • 인프런 강의
  • Java
  • Spring
  • JPA
  • SDE Tips
Subscribe
Tagged

static inner class

A collection of 1 post

bean

static inner class를 Spring에 bean으로 등록하기

public class Foo {    static class Bar {        static String say() {            return “Bar-Bar-Bar”;        }    }} 요런 클래스가 있습니다. static inner class는 일반 inner class완 다르게 outter 객체가 없이도 접근할 수

  • 백기선
백기선 Aug 21, 2008 • 2 min read
Whiteship © 2022
Powered by Ghost