The tech sector was helping lead the Nasdaq higher on a day when the other two major indices were suffering declines. 

The Nasdaq was up 0.25% Tuesday, building on the index's record-setting close Monday. Here are five tech stocks that are driving the Nasdaq higher Tuesday. 

Apple Inc. (AAPL) - shares of Apple were up 0.73% to $193.23 a day after it unveiled its new iOS 12 among other new initiatives at its annual World Wide Developer's Conference. The week-long event is taking place in San Jose, CA. 

Akamai Technologies Inc. (AKAM) - shares were up 2.7% Tuesday afternoon. Investors Business Daily named the cloud services company its Stock of the Day Monday. The company grew its profit by 22% in the previous quarter and recorded its second consecutive quarterly revenue growth. 

Amazon.com Inc. (AMZN) - shares were up 1.7% to $1,693.45 Tuesday following a report that the company is upping its investment in India by $2 billion. The company had previously committed $5 billion to investments in India. Amazon is also reportedly considering a bid for Indian grocery delivery service Flipkart. 

Electronic Arts Inc. (EA) - shares were up 1.35% to $136.48 in afternoon trading Tuesday ahead of the biggest day in gaming, the Electronic Entertainment Expo next week in Los Angeles. 

eBay Inc. (EBAY) - shares were up 2.83% to $40.17 following reports that the company could end up with a 5% stake in Dutch fintech company Ayden as part of a deal the two companies agreed to in January. Ayden plans to sell a 15% stake in an initial public offering in Amsterdam that is expected to value the company between $7 billion and $11 billion. 

Apple and Amazon are holdings in Jim Cramer's Action Alerts PLUS member club. Want to be alerted before Jim Cramer buys or sells AAPL or GOOGL? Learn more now.