int unreadEmails = “10”; -> quotes should be string.
int unreadEmails = 10; -> should be camel case
intunreadEmails = 10; -> needed space and this one is definitely problem
integer number; computer recognize int
int int; variable name cannot be a java keyword
int integer;
String currentlyPlaying = “Pinocchio – Penguin Prison”;
string currentlyPlaying = “Fantasy – Alina Baraz & Galimatias”;
String currentlyPlaying = “Call Me Up – Chromeo”
String-name = “Katherine”
String “name” = “Kunal”;
String name on profile = “Lyla”;
int weekday = 5;
int weekend = 9;
int optimalHours = 7*8;
int actualHours = weekday;
actualHours = actualHours + weekend*2;
int solution = optimalHours – actualHours;
display(solution)
solution:-33
public class MainActivity extends AppCompactActivity{ public void voteDacicola(View view){ int dacicolaVotes = 0; dacicolaVotes = dacicolaVotes + 1; } public void votePepcity(View view){ int pepcityVote; pepcityVotes = pepcityVotes + 1; } public void showMeVotes(View view){ display(dacicolaVotes + "vs. " + pepcityVotes); } }