Germany shares a border with Austria, Denmark, Czech Republic, Poland, France, Switzerland, Netherlands, Belgium, and Luxembourg.
France shares a border with both of the others
but Switzerland shares one with all 3
France is the only country that borders Germany, Belgium, Italy, Spain and Switzerland.
Switzerland.
Switzerland
France and Poland have both a border with Germany.
Poland shares a border with both Germany and Ukraine.
Austria. Other countries bordering Switzerland are Liechtenstein, Italy, France and Germany.
France
France and Germany
Strasbourg, France is a city that shares borders with Switzerland and Germany.
Germany shares a border with nine other countries in Europe: Denmark, Poland, Czech Republic, Austria, Switzerland, France, Luxembourg, Belgium, and the Netherlands.
Germany is the only country to have a land border with Denmark.
Germany
France shares a land border with all these countries - Belgium, Luxembourg, Germany, Switzerland, Italy, Monaco, Andorra, Spain, Brazil, and Suriname.
There is no one country which shares a border with France, Switzerland and Yugoslavia. And, Yugoslavia has not existed since 1992.
Germany is the only country that shares a land border with Denmark. Considering you've tagged Germany in the question, I get a feeling you already knew...