* 皆さん、こんにちは!(Minasan, konnichiwa!) This is the most straightforward and common way. "Minasan" means "everyone," and "konnichiwa" means "hello" (used during the day). This is polite and suitable for most situations.
* 友達とクラスメイトの皆さん、こんにちは!(Tomodachi to kurasumeito no minasan, konnichiwa!) This is a more literal translation, explicitly mentioning "friends" (tomodachi) and "classmates" (kurasumeito). It's a bit more formal than the first option.
* みんな、こんにちは!(Minna, konnichiwa!) This is a more casual and friendly way to say hello. "Minna" means "everyone" but is more informal than "minasan." Use this only with close friends or in informal settings.
* クラスのみんな、こんにちは!(Kurasu no minna, konnichiwa!) This translates to "Everyone in the class, hello!" This is a good option if you're addressing only your classmates.
The best option depends on your context. For most situations, 皆さん、こんにちは!(Minasan, konnichiwa!) is a safe and appropriate choice.