I finished watching The Rose of Versailles, so I tried to reproduce the ending song in Java

Have you ever seen the Rose of Versailles?

I think it is natural.

I recently saw The Rose of Versailles, but I couldn't catch the end of the story, so I decided to fill the feeling of loneliness by writing a fucking code that reproduces the ending song of The Rose of Versailles.

The void created in this way is the following code.

Please google the lyrics.

java.TheRoseofVersailles



import java.util.*;

public class TheRoseofVersailles{
 public static String love="love";
 public static String loversName="Oscar";

 public static void main(String[] args) throws Exception {
        Amero();
 }
 
 public static void Amero(){
    int yourHeart=0;
    String love="suffering";
    while(love=="suffering"){
     yourHeart++;
     System.out.println("Love is "+love);
     if(yourHeart==10)love="love";
    }
     Bmero();
 }
 
 public static void Bmero(){
    String you="light";
    String me="shadow";
    String bond=you+" and "+me;
    System.out.println("you and me=="+bond);
    Sabi();
 }
 
 public static void Sabi(){
    for(int suffer=0;suffer<5;suffer++){
        love=love+love;
        System.out.println("suffer"+suffer);
        System.out.println(love);
    }
    quote();
 }

 public static void quote(){
    Love();
    if(!(love.matches("love*")))System.out.println("love=="+love);
    boolean myEyes=false;
    if(myEyes==false)System.out.println("myEyes=="+myEyes);
    System.out.println(loversName);
    System.out.println(loversName+"!!!!!!");
 }

public static void Love(){
 love="can't be called love";
 }
}

Execution result:

Love is suffering
Love is suffering
Love is suffering
Love is suffering
Love is suffering
Love is suffering
Love is suffering
Love is suffering
Love is suffering
Love is suffering
you and me==light and shadow
suffer0
lovelove
suffer1
lovelovelovelove
suffer2
lovelovelovelovelovelovelovelove
suffer3
lovelovelovelovelovelovelovelovelovelovelovelovelovelovelovelove
suffer4
lovelovelovelovelovelovelovelovelovelovelovelovelovelovelovelovelovelovelovelovelovelovelovelovelovelovelovelovelovelovelovelove
love==can't be called love
myEyes==false
Oscar
Oscar!!!!!!

Goodbye, my beloved Oscar

Recommended Posts

I finished watching The Rose of Versailles, so I tried to reproduce the ending song in Java
I tried to implement the Euclidean algorithm in Java
I tried to summarize the basics of kotlin and java
I tried to make a client of RESAS-API in Java
I tried to summarize the methods of Java String and StringBuilder
I tried the new era in Java
I tried to make full use of the CPU core in Ruby
I tried to organize the session in Rails
I tried to implement deep learning in Java
I tried to output multiplication table in Java
I tried to create Alexa skill in Java
I tried to organize the cases used in programming
I tried to implement Firebase push notification in Java
I tried to summarize the state transition of docker
05. I tried to stub the source of Spring Boot
# 2 [Note] I tried to calculate multiplication tables in Java.
I tried to reduce the capacity of Spring Boot
I tried to create a Clova skill in Java
I tried to make a login function in Java
~ I tried to learn functional programming in Java now ~
I tried to find out what changed in Java 9
The part I was addicted to in "Introduction to Ajax in Java Web Applications" of NetBeans
[JDBC] I tried to access the SQLite3 database from Java.
[Swift] I tried to implement the function of the vending machine
I tried to summarize the basic grammar of Ruby briefly
I tried to convert a string to a LocalDate type in Java
I tried to build the environment of WSL2 + Docker + VSCode
I tried using Dapr in Java to facilitate microservice development
How to derive the last day of the month in Java
I tried to develop the cache function of Application Container Cloud Service in the local environment
I tried metaprogramming in Java
I want to simplify the conditional if-else statement in Java
I tried to make the "Select File" button of the sample application created in the Rails tutorial cool
I tried to solve the problem of "multi-stage selection" with Ruby
I tried to summarize the words that I often see in docker-compose.yml
Java14 came out, so I tried record for the time being
I tried to implement Ajax processing of like function in Rails
I tried to illuminate the Christmas tree in a life game
I tried to sort the data in descending order, ascending order / Rails
I tried to build the environment of PlantUML Server with Docker
I tried setting Java beginners to use shortcut keys in eclipse
I tried the input / output type of Java Lambda ~ Map edition ~
I tried to translate the error message when executing Eclipse (Java)
The milliseconds to set in /lib/calendars.properties of Java jre is UTC
I tried to check the operation of gRPC server with grpcurl
[Java] I tried to make a maze by the digging method ♪
[Java] I want to perform distinct with the key in the object
I tried to move the Java compatible FaaS form "Fn Project"
I passed the Oracle Java Bronze, so I summarized the outline of the exam.
I tried to display the calendar on the Eclipse console using Java.
I want to change the value of Attribute in Selenium of Ruby
How to get the length of an audio file in java
I tried to solve the problem of Google Tech Dev Guide
How to increment the value of Map in one line in Java
I tried to interact with Java
I tried to explain the method
I tried the Java framework "Quarkus"
I tried using JWT in Java
I tried to summarize Java learning (1)
I tried to summarize Java 8 now
I tried using GoogleHttpClient of Java