board.jsp 파일을 만들고 이제 게시판이 이런 형식으로 있는데 옆으로 크게 펼쳐져 있는 걸 좀 줄이고 싶고 위쪽에 위치해 있어서 아래로 좀 내리고 싶은데 방법이...
... 다음 CarFactoryTest.java 테스트 코드가 수행 되도록 합니다. package singleton2; public class CarFactoryTest { public static void main(String[] args) { CarFactory factory...
... 예를 들어, 객체가 Map의 인스턴스인지 확인하고 containsKey를 사용할 수도 있으며, Java Reflection API를 사용하여 객체에 특정 필드나 메서드가 존재하는지 확인할...
for문 사용해서 AYYYYY AAYYYY AAAYYY AAAAYY AAAAAY AAAAAA 이런식으로 만들고싶은데 어떻게 코드가 되나요 ? < < > "" "" main 함수 안에 넣으세요. 자바 Java
class Rectangle{ private int x; private int y; private int width; private int height; public Rectangle(int x, int y, int width, int height) { this.x = x; this.y = y; this.width = width; this.height...
-10x^5-4x^4+10x^3-2x^2+6 이런식으로 출력하고 싶은데 어떻게 해야할지 모르겠어요 public void printPoly() { int temp = this.degree; System.out.print("두 다항식의...
태그: java
원래 jar파일을 만들고 확장자를 보면 Executable Jar File인데 현재 계속 JAR파일이라고 나오는데 왜 그런지 아시는분 있나요?? 내공 겁니다ㅜㅜ 부탁드려요ㅠㅠ 아래...
eclipse 21년 12월 버전, jdk 1.8, tomcat 9.0 사용중입니다. eclipse에서 tomcat을 이용하여 server를 열었는데 http 상태 404가 뜨네요. 구글링해서 프로젝트 우클릭...
태그: 자바, java, eclipse, eclipse오류, tomcat, tomcat서버, eclipse초보, eclipse서버
안녕하세요 이번에 이클립스 설치했는데 예전에 설치했을때에는 없었는데 이번에 설치하니까 코드 작성할때 구간 나누듯이 밑줄이 생기는데 없애는 방법 아시면...
class Main { public static void main(String[] args) { A b = new B(); b.paint(); b.draw(); } } class A { public void paint() { System.out.println("A"); draw(); } public void draw() { System....