Recent Posts

[Java] Person.java

1 minute read

class Person { private static int count = 0; private String firstName; private String middleName; private String lastName; private int age; priv...

[Java] Main.java

less than 1 minute read

class Main { public static void main(String[] args) { // Make your job a “doctor” Person person1 = new Person(“Kate”, “Jones”, 27, 1.6, 50.0, “...

[Ruby] install yarn inside docker image

less than 1 minute read

Background When deploying a Rails application (v5.2.4) created using Docker to the production environment, when I tried to precompile assets, the following ...

[Java] Eight programming learning lessons

14 minute read

Unexpectedly, I started to work on IT. I’m doing PM for IT products right now, but at the beginning I had to catch up on everything, even though I was inexp...

[Java] Car.java

less than 1 minute read

class Car{ private String name; private String color; private int distance = 0; private int fuel = 100; Car(String name,String color){ this.na...

[Java] About static

less than 1 minute read

After the class file is loaded, it is separated into a static part and other parts and saved in different memory areas.

[Java] Person.java

less than 1 minute read

class Person { public static void printData(String name, int age, double height, double weight) { System.out.println(“私の名前は” + name + “です”); Syste...

[Ruby] nil is returned by puts. this means?

less than 1 minute read

puts returns nil, what do you say? I’ve ignored it until now, but what does this mean when you think about it?

[Java] Memory mechanism in object-oriented languages

2 minute read

Why I decided to write an article I use spring boot at work, and at its core DI (Dependency Injection), According to the singleton design pattern, only one ...

[Java] Main.java

less than 1 minute read

import java.util.Scanner;

[Java] Main.java

less than 1 minute read

// load java.util.Scanner import java.util.Scanner;

[Java] Main.java

less than 1 minute read

mport java.util.Scanner;