Before the pandemic struck, 42 percent of adult learners who wanted to take nondegree courses, earn nondegree certificates, or obtain vocational or technical training said they favored online classes. That share increased when they were asked about their longer-term preferences.