Because of this , many classical composers chose to write violin concertos in D major . Examples include Mozart 's ( No. 2 , 1775 , No. 4 , 1775 ) ; Ludwig van Beethoven 's ( 1806 ) ; Paganini 's ( No. 1 , 1817 ) ; Brahms 's ( 1878 ) ; Tchaikovsky 's ( 1878 ) ; Prokofiev 's ( No. 1 , 1917 ) ; Stravinsky 's ( 1931 ) ; and Korngold 's ( 1945 ) . It is thus no coincidence that many classical composers throughout the centuries have chosen to write violin concertos in D major , including those by Mozart ( No. 2 , 1775 , No. 4 , 1775 ) ; Ludwig van Beethoven ( 1806 ) ; Paganini ( No. 1 , 1817 ) ; Brahms ( 1878 ) ; Tchaikovsky ( 1878 ) ; Prokofiev ( No. 1 , 1917 ) ; Stravinsky ( 1931 ) ; and Korngold ( 1945 ) .